Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/286.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 我怎样才能避免这种奇怪的“错误”;无法获取URL";执行任何pip安装时出错_Python_Macos_Ssl_Terminal_Pip - Fatal编程技术网

Python 我怎样才能避免这种奇怪的“错误”;无法获取URL";执行任何pip安装时出错

Python 我怎样才能避免这种奇怪的“错误”;无法获取URL";执行任何pip安装时出错,python,macos,ssl,terminal,pip,Python,Macos,Ssl,Terminal,Pip,使用Python2.7。几个月来一直工作正常,但当我尝试在VirtualNV之外或内部进行pip安装时,突然间我开始出现这种奇怪的错误。如果我这样做: pip install pandas 我被告知: Could not fetch URL https://pypi.python.org/simple/pandas/: There was a problem confirming the ssl certificate: EOF occurred in violation of protoco

使用Python2.7。几个月来一直工作正常,但当我尝试在VirtualNV之外或内部进行pip安装时,突然间我开始出现这种奇怪的错误。如果我这样做:

pip install pandas
我被告知:

Could not fetch URL https://pypi.python.org/simple/pandas/: There was a problem confirming the ssl certificate: EOF occurred in violation of protocol (_ssl.c:590) - skipping
  Could not find a version that satisfies the requirement pandas (from versions: )
No matching distribution found for pandas
几乎任何pip库都会发生这种情况,这令人愤怒。我试着更新我的pip,它说它是最新的。我在某个地方读到,我应该尝试更新我的virtualenv,我使用了:

pip install --upgrade virtualenv

但它给出了同样的错误。所以很气愤哈哈

作为临时修复,您可以从 并使用

pip安装一些软件包。whl


否则,当ssl出现问题时,您应该检查哪一个似乎已经修复了问题。

作为临时修复,您可以从 并使用

pip安装一些软件包。whl


否则,您应该检查哪个似乎解决了ssl问题。

尝试easy\u install pandastried,它说找不到任何名为pandasTry easy\u install pandastried的东西,它说找不到任何名为pandasTry的东西