热线电话:13121318867

登录
2019-01-18 阅读量: 2824
救急,我不能在CMD中下载numpy

当我尝试下载numpy时,它不起作用。

一个教程告诉我移动目录c:\但它没有任何区别。这是错误:

C:\>pip install numpy

Collecting numpy

Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)'))': /simple/numpy/

Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)'))': /simple/numpy/

Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)'))': /simple/numpy/

Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)'))': /simple/numpy/

Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)'))': /simple/numpy/

Could not fetch URL https://pypi.org/simple/numpy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/numpy/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)'))) - skipping

Could not find a version that satisfies the requirement numpy (from versions: )

No matching distribution found for numpy

Could not fetch URL

132.3500
2
关注作者
收藏
评论(1)

发表评论
啊啊啊啊啊吖
2019-01-18
但是,我找到解决方法了嘻嘻嘻,但即使是这种情况,也可以安装numpy而不要求pip即时下载:尝试从https://www.lfd.uci.edu/~gohlke/pythonlibs/下载一个“wheel” 包给你Windows CPython版本并安装pip install c:\path\to\mypackage.whl
0.0000 0 0 回复
推荐帖子
条评论