以管理员身份运行命令提示符后,我尝试运行以下命令:
easy_install -U setuptools
它会返回以下内容:
Searching for setuptools
Reading https://pypi.python.org/simple/setuptools/
Reading http://peak.telecommunity.com/snapshots/
Reading https://pypi.python.org/pypi/setuptools
Best match: setuptools 0.8
Processing setuptools-0.8-py2.7.egg
setuptools 0.8 is already the active version in easy-install.pth
Installing easy_install-script.py script to C:\Python27\Scripts
Installing easy_install.exe script to C:\Python27\Scripts
error: C:\Python27\Scripts\easy_install.exe: Permission denied
我花了几个小时在网上寻找可能的解决方案。我尝试更改UAC设置,并将其设置为“从不通知”。但是,我仍然收到拒绝许可的错误。
pip install setuptools
对您有用吗? - Rik