CKa*_*Kav 8 windows command-prompt setuptools easy-install windows-8
以管理员身份运行命令提示符我尝试运行:
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设置并将它们设置为Never Notify.然而,我仍然得到这个权限被拒绝的错误.
另一种方法是使用另一个python包管理器:Pip.
easy_install pip    
pip install --upgrade setuptools
这可以解决"使用中"问题而无需移动文件.
| 归档时间: | 
 | 
| 查看次数: | 8910 次 | 
| 最近记录: |