1. 程式人生 > >python3安裝numpy失敗

python3安裝numpy失敗

pip3 install numpy

報錯:

  Could not fetch URL https://pypi.python.org/simple/numpy/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) - skipping
  Could not find a version that satisfies the requirement numpy (from versions: )
No matching distribution found for numpy

解決方法:

curl https://bootstrap.pypa.io/get-pip.py | python3
pip3 install numpy