pip install 出错

使用pip安装Python模块时出现以下错误:

C:\Users\Administrator>pip install pillow
Collecting pillow
  Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connec
tion broken by 'ConnectTimeoutError( ction.VerifiedHTTPSConnection object at 0x00000000045093C8>, 'Connection to pypi
.python.org timed out. (connect timeout=15)')': /simple/pillow/

。。。
matching distribution found for pillow

公司内网需要设置代理,正确命令:

pip --proxy=http://用户名:密码@公司对应代理地址:端口号 install Python模块

你可能感兴趣的:(python模块安装)