在我的工作环境中,Internet访问由NTLM身份验证管理,并与Windows用户帐户关联,easy_install或pip不起作用:
C:\>easy_install django
install_dir D:\Python26\Lib\site-packages\
Searching for django
Reading http://pypi.python.org/simple/django/
Download error: timed out -- Some packages may not be found!
....
C:\>pip install django
Downloading/unpacking django
Cannot fetch index base URL http://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement django
No distributions at all found for django
是否有可能让他们在这样的环境中工作?
最佳答案
使用NTLMAPS,并将pip指向本地代理.
原文链接:https://www.f2er.com/python/439100.html