python setup.py install syntax error

问题描述:

This question already has an answer here:

python3 --version shows “NameError: name 'python3' is not defined”

2 answers

网友答案:

python setup.py install is not python code & should be done from the command prompt in the directories you have extracted the mechanize and mechanoid libraries to and not from the python interpreter that you ran the change directory python code in.