Hi All,
I'm using the default version of Python, looks like 3.4, in a console.
I was trying to open a url with requests.
But I was getting a very strange socket error, something like unclosed socket.socket
So googling about, it seemed like a solution was to update requests.
And I did.
And the socket error is gone.
But I've somehow screwed up access to like every other library :) When I run this script I get like a zillion errors like this for different libraries.
/usr/lib/python3.4/importlib/_bootstrap.py:579: ImportWarning: Not importing directory /usr/local/lib/python3.4/dist-packa
ges/virtualenvwrapper: missing __init__
What to do?
PS, I updated requests like this:
pip3 install requests --user --upgrade