Problem installing distribute in python 3.3

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Problem installing distribute in python 3.3

Anthony Kong
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 ( to initiate the distribute installation:


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/ to alias.cpython-33.pyc
  File "/Users/antkong/local/lib/python3.3/site-packages/setuptools/command/", line 12
    if arg.split()<>[arg]:
SyntaxError: invalid syntax

byte-compiling /Users/antkong/local/lib/python3.3/site-packages/setuptools/command/ to bdist_egg.cpython-33.pyc
  File "/Users/antkong/local/lib/python3.3/site-packages/setuptools/command/", 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?


Distutils-SIG maillist  -  [hidden email]