使用虚拟环境进行pip安装时出现TLS错误

时间:2018-05-08 16:59:58

标签: python opencv virtualenv

我正在尝试使用

安装opencv
pip install opencv-python

在虚拟环境中我安装了张量流,我得到了错误

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

当我使用diff env时安装它,但它只安装3.4.0.12并且我想要3.4.1

0 个答案:

没有答案