Python 3.6:尝试pip install numpy

时间:2016-12-24 20:28:21

标签: numpy python-3.6

我只是尝试一个简单的pip3.6 install numpy,我收到以下错误:

distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('numpy>=1.7.0')

如何解决这个问题?我尝试升级easy_install,但这不起作用,也没有尝试直接安装scikit-learn。请注意,我已经使用python3.5。

1 个答案:

答案 0 :(得分:1)

实际上,有点高于我最后注意到的错误:

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!

问题是使用临时的不同网络并使用:

pip3.6 install --trusted-host pypi.python.org numpy

现在解决了这个问题。

相关问题