Skip to content

Missing Parentheses in print statement #116

Open
@rkalamdani

Description

@rkalamdani

The line in setup.py:

print "No sequencer available for '%s' platform." % platform

should be updated to

print ("No sequencer available for '%s' platform." % platform)

to avoid this error when using pip install python-midi:

pip install python-midi
Collecting python-midi
Downloading python-midi-v0.2.4.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\owner-pc\AppData\Local\Temp\pip-build-wvrojn4c\python-midi\setup.py", line 42
print "No sequencer available for '%s' platform." % platform
^
SyntaxError: Missing parentheses in call to 'print'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users\owner-pc\AppData\Local\Temp\pip-build-wvrojn4c\python-midi\

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions