3
我可以使用“ pip install --cert”解决问题吗?
尝试找出是否有一种方法可以避免在工作时安装软件包时使用--cert标志。代理存在一些问题,尽管将mycert.crt文件添加到/usr/local/share/ca-certificates并正在运行,但我仅在提供该标志时才允许我下载所需的软件包sudo update-ca-certificates。 我看到的消息示例是: $ pip install "virtualenv>=1.10.1" Downloading/unpacking virtualenv>=1.10.1 Could not fetch URL https://pypi.python.org/simple/virtualenv/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed> Will skip URL https://pypi.python.org/simple/virtualenv/ when looking for download links for virtualenv>=1.10.1 Could not fetch URL https://pypi.python.org/simple/: There was a …