5

在我的工作环境中,通过 NTLM 身份验证管理 Internet 访问并与 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

是否有可能让他们在这样的环境中工作?

4

1 回答 1

4

使用NTLMAPS,并将 pip 指向本地代理。

于 2011-01-23T07:19:18.297 回答