在python 3.6(64位)上安装熊猫失败了

时间:2018-07-08 04:11:25

标签: python python-3.x pandas pip

我正在使用python 3.6(64位),并希望通过以下命令使用pip安装熊猫。

  pip install pandas

我得到的错误是:

    Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None))
 after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAIL
ED] certificate verify failed (_ssl.c:833)'),)': /packages/07/54/5379878cd2ccabd
08ab9ce356e204a5bb46c870f203c93c808c22dd63125/pandas-0.23.3-cp36-cp36m-win_amd64
.whl
Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host=
'files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/07
/54/5379878cd2ccabd08ab9ce356e204a5bb46c870f203c93c808c22dd63125/pandas-0.23.3-c
p36-cp36m-win_amd64.whl (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIF
Y_FAILED] certificate verify failed (_ssl.c:833)'),))

我尝试了使用受信任的主机的另一种方式

py -m pip install --trusted-host pypi.python.org pip pandas

我遇到的错误是:

      HTTP error 403 while getting https://files.pythonhosted.org/packages/07/54/537
9878cd2ccabd08ab9ce356e204a5bb46c870f203c93c808c22dd63125/pandas-0.23.3-cp36-cp3
6m-win_amd64.whl#sha256=cbb074efb2a5e4956b261a670bfc2126b0ccfbf5b96b6ed021bc8c8c
b56cf4a8 (from https://pypi.org/simple/pandas/) (requires-python:>=2.7,!=3.0.*,!
=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*)
  Could not install requirement pandas from https://files.pythonhosted.org/packa
ges/07/54/5379878cd2ccabd08ab9ce356e204a5bb46c870f203c93c808c22dd63125/pandas-0.
23.3-cp36-cp36m-win_amd64.whl#sha256=cbb074efb2a5e4956b261a670bfc2126b0ccfbf5b96
b6ed021bc8c8cb56cf4a8 because of error 403 Client Error: Forbidden for url: http
s://files.pythonhosted.org/packages/07/54/5379878cd2ccabd08ab9ce356e204a5bb46c87
0f203c93c808c22dd63125/pandas-0.23.3-cp36-cp36m-win_amd64.whl
Could not install requirement pandas from https://files.pythonhosted.org/package
s/07/54/5379878cd2ccabd08ab9ce356e204a5bb46c870f203c93c808c22dd63125/pandas-0.23
.3-cp36-cp36m-win_amd64.whl#sha256=cbb074efb2a5e4956b261a670bfc2126b0ccfbf5b96b6
ed021bc8c8cb56cf4a8 because of HTTP error 403 Client Error: Forbidden for url: h
ttps://files.pythonhosted.org/packages/07/54/5379878cd2ccabd08ab9ce356e204a5bb46
c870f203c93c808c22dd63125/pandas-0.23.3-cp36-cp36m-win_amd64.whl for URL https:/
/files.pythonhosted.org/packages/07/54/5379878cd2ccabd08ab9ce356e204a5bb46c870f2
03c93c808c22dd63125/pandas-0.23.3-cp36-cp36m-win_amd64.whl#sha256=cbb074efb2a5e4
956b261a670bfc2126b0ccfbf5b96b6ed021bc8c8cb56cf4a8 (from https://pypi.org/simple
/pandas/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*)

如何解决此问题?

注意:点子版本为10.0.1

0 个答案:

没有答案