vishnubob / python-midi

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

Fixed print when Linux install #148

Closed HudsonHuang closed 6 years ago

HudsonHuang commented 6 years ago

when I install with: pip install python-midi I got

huangzhongyi@ubuntu:~/workspace/python-midi$ pip install python-midi Collecting python-midi Using cached https://files.pythonhosted.org/packages/8d/e1/fd34aa05508d907449fb2d66a679d4f98eeeacdb4b3c7e6af87d91c4fa21/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 "/tmp/pip-install-rcr0nu5q/python-midi/setup.py", line 42 print "No sequencer available for '%s' platform." % platform ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print "No sequencer available for '%s' platform." % platform)?

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

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-rcr0nu5q/python-midi/

I found there maybe some question in print function of setup.py, I fixed it and successfully installed.