Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"ez_setup.py" syntax error

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."

like image 656
d1337 Avatar asked Aug 19 '12 19:08

d1337


1 Answers

Change the comma to 'as'

except pkg_resources.VersionConflict as e:
like image 114
samoz Avatar answered Oct 16 '22 12:10

samoz