Message170113
I've had the same issue. I was installing Pyglet. I first installed it under Python 2, then:
$ sudo python3 setup.py install
running install
running build
running build_py
running install_lib
[...]
creating /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/pyglet/window/xlib
copying build/lib/pyglet/window/xlib/__init__.py -> /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/pyglet/window/xlib
byte-compiling /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/pyglet/__init__.py to __init__.cpython-32.pyc
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/pyglet/__init__.py", line 276
print '[%d] %s%s %s' % (thread, indent, name, location)
^
SyntaxError: invalid syntax
Deleting the 'build' directory from the Python 2 run fixed the problem and I could install the package under Python 3. |
|
Date |
User |
Action |
Args |
2012-09-09 16:09:58 | darabos | set | recipients:
+ darabos, techtonik, tarek, eric.araujo, r.david.murray, alexis |
2012-09-09 16:09:58 | darabos | set | messageid: <1347206998.28.0.821923501054.issue15419@psf.upfronthosting.co.za> |
2012-09-09 16:09:57 | darabos | link | issue15419 messages |
2012-09-09 16:09:57 | darabos | create | |
|