Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Parentheses in print statement #116

Open
rkalamdani opened this issue Apr 28, 2017 · 2 comments
Open

Missing Parentheses in print statement #116

rkalamdani opened this issue Apr 28, 2017 · 2 comments

Comments

@rkalamdani
Copy link

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\

yourGrigor added a commit to yourGrigor/python-midi that referenced this issue May 4, 2017
yourGrigor added a commit to yourGrigor/python-midi that referenced this issue May 4, 2017
@yourGrigor
Copy link

Didn't saw there is already a fix.
Look at the feature/python3 branch.

@DannyDannyDanny
Copy link

pip install git+https://github.com/vishnubob/python-midi@feature/python3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants