Python 3.6: trying to pip install numpy

本秂侑毒 提交于 2019-12-11 06:13:17

问题


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')

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.


回答1:


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

which solved the issue for now.



来源:https://stackoverflow.com/questions/41316631/python-3-6-trying-to-pip-install-numpy

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!