installation fails for Python 3

Issue #62 invalid
Brett Cannon
created an issue

Trying to install Distribute 0.6.4 fails on Python 3.1 with python3 install --user:



Traceback (most recent call last): File "<stdin>", line 1, in <module> File "setuptools/", line 2, in <module> from setuptools.extension import Extension, Library File "setuptools/", line 2, in <module> from setuptools.dist import _get_unpatched File "setuptools/", line 102 except ValueError, e: ^ SyntaxError: invalid syntax }}}

Maybe it has something to do with 2to3 failing on

Can't parse build/src/ ParseError: bad input: type=22, value='=', context=('', (150, 72))

Comments (4)

  1. Brett Cannon reporter

    I just tried it again and it worked! First time may have been an issue with 0.6.2 being installed and the second time from not using a fresh copy after installing for Python 2.6.

    Sorry about the false alarm.

  2. Anonymous

    I get the same error when I try to run Tried fixing it by editing and putting (ValueError, e), but then I just got a new error, and so on, all thing that are 2.x, like the above, leading 0's, exec without brackets,... I installed with "python install" P.S.: related or identical to #286?

  3. Log in to comment