本文介绍了Python 3.6:尝试 pip install numpy的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只是在尝试一个简单的pip3.6 install numpy
,但出现以下错误:
I'm just trying a simple pip3.6 install numpy
, and I get the following error:
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('numpy>=1.7.0')
这个怎么解决?我尝试升级 easy_install
但这没有用,尝试直接安装 scikit-learn 也没有.注意我已经在用python3.5了.
How can this be solved? I tried to upgrade easy_install
but that did not work, neither did trying to install scikit-learn directly. Note that I already have been using python3.5.
推荐答案
实际上,我最终注意到的错误有点上面:
Actually, a bit above the error I ended up noticing:
Download error on https://pypi.python.org/simple/numpy/: [SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed (_ssl.c:749) -- Some packages may not be found!
问题是使用临时不同的网络并使用:
The problem was using a temporary different network and used:
pip3.6 install --trusted-host pypi.python.org numpy
暂时解决了这个问题.
这篇关于Python 3.6:尝试 pip install numpy的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!