"ez_setup.py" syntax error

easy-install, python

Solution

Change the comma to 'as'

except pkg_resources.VersionConflict as e:

Problem

I am trying to install easy_install by running ez_setup.py from command line (64bit windows machine) and getting a "Invalid Syntax" on the following line: ``` except pkg_resources.VersionConflict, e: ``` Python version 3.2.3 Any suggestions how to resolve this? Thanks UPDATE: Sorry people, I am completely new to Python, now it is failing on this line: print "Setuptools version",version,"or greater has been installed."

Original source

Related problems