Problem installing distribute in python 3.3
Hi, all, I have built python3.3 from source. I want to use pip which has a dependency on setuptools. This's why I am here. I have followed these steps here ( http://packages.python.org/distribute/index.html) to initiate the distribute installation: curl -O http://python-distribute.org/distribute_setup.py python3 distribute_setup.py Up to this point I got a lot byte-compiling exceptions. Here is a partial listing: ==================================== byte-compiling /Users/antkong/local/lib/python3.3/site-packages/setuptools/command/alias.py to alias.cpython-33.pyc File "/Users/antkong/local/lib/python3.3/site-packages/setuptools/command/alias.py", line 12 if arg.split()<>[arg]: ^ SyntaxError: invalid syntax byte-compiling /Users/antkong/local/lib/python3.3/site-packages/setuptools/command/bdist_egg.py to bdist_egg.cpython-33.pyc File "/Users/antkong/local/lib/python3.3/site-packages/setuptools/command/bdist_egg.py", line 410 if safe is None or bool(safe)<>flag: ^ SyntaxError: invalid syntax ==================================== It looks like distribute is shipping python 2 code. Any suggestion or idea? Cheers
participants (1)
-
Anthony Kong