【问题标题】:Python 3.6: trying to pip install numpyPython 3.6:尝试 pip install numpy
【发布时间】:2016-12-24 20:28:21
【问题描述】:

我只是在尝试一个简单的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了。

【问题讨论】:

    标签: numpy python-3.6


    【解决方案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
    

    暂时解决了这个问题。

    【讨论】:

      猜你喜欢
      • 2018-09-30
      • 2021-11-15
      • 2018-08-21
      • 2023-03-30
      • 2017-10-22
      • 2019-06-03
      • 1970-01-01
      • 2018-08-31
      • 1970-01-01
      相关资源
      最近更新 更多