1

Using python 2.7. Was working fine for months but all of a sudden i start getting this weird error when i try and do pip installs outside of or within a virtualenv. If i do something like this:

pip install pandas

I am told:

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

This occurs for just about any pip library and it is infuriating. I tried updating my pip and it said it was up to date. I read somewhere i should try and update my virtualenv which I did with:

pip install --upgrade virtualenv

But it gave the same error. So enraging haha.

sometimesiwritecode
  • 2,993
  • 7
  • 31
  • 69

1 Answers1

0

As a temporary fix, you could fetch the appropriate .whl for your system from this link and install it using

pip install some-package.whl

Otherwise, you should check the top anwser from here which seems to have fixed the problem when having trouble with ssl.

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Moncefmd
  • 343
  • 1
  • 4
  • 9