Easy_install or pip with NTLM auth
In my working environment, internet access is managed by NTLM authentication and is associated with Windows user account, and easy_install or pip doesn't work:
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 开发者_JAVA百科that satisfy the requirement django
No distributions at all found for django
Is it possible to get them working in such an environment?
Use NTLMAPS, and point pip to the local proxy.
精彩评论