使用python 2.7。工作正常几个月,但突然间,当我尝试在virtualenv之外或之内做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库都会出现这种情况,这是令人愤怒的。我尝试更新我的点子,它说它是最新的。我读到了某个地方,我应该尝试更新我用的virtualenv:
pip install --upgrade virtualenv
但它给出了同样的错误。哈哈如此激动。