在我的工作环境中,互联网访问由 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 指向本地代理。
关于python - 使用 NTLM 身份验证的 Easy_install 或 pip,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4772649/