安装mechanize失败是怎么回事?
在命令窗口执行python setup.py install,出现下面错误信息。
Traceback (most recent call last):
File "setup.py", line 66, in main
import setuptools
ImportError: No module named 'setuptools'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 92, in <module>
main()
File "setup.py", line 68, in main
import ez_setup
File "E:\mechanize-0.2.5\ez_setup.py", line 106
except pkg_resources.VersionConflict, e:
^
SyntaxError: invalid syntax