vishnubob / python-midi

Python MIDI library
MIT License
1.51k stars 370 forks source link

Missing Parentheses in print statement #116

Open rkalamdani opened 7 years ago

rkalamdani commented 7 years ago

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 commented 7 years ago

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

DannyDannyDanny commented 6 years ago

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