im trying to install any package on my Mac, I got it from work and its a bit complicated because between all blockades made by security and IT, I could install python freely. the problem occurred when I wanted to install some libraries, I was getting: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')': /simple/requests/ for some time, then I set up proxy with: set HTTP_PROXY=http://usernameassword@proxy.serverort set HTTPS_PROXY=http://usernameassword@proxy.serverort then my first question occurred, what is the difference between set and export, because it seems like I can get same results doing: export HTTP_PROXY=http://usernameassword@proxy.serverort second question was haw can I put in my username when it is recognized as domain\a123456? and at the same time my password includes special signs? third: what if my password ends with '@'? then for example this decoded url will look like http://myname:haslo@@proxy.serverort? but okay I set it up somehow and I ended up with something like (this is just an example but real situation is very similar): HTTP_PROXY=http://domain%5C%5Ca123456:haslo%40@proxy.server:300 HTTPS_PROXY=https://domain%5C%5Ca123456:haslo%40@proxy.server:3000 then when I make pip install pytest (or requests) I get: Could not fetch URL https://pypi.org/simple/pytest/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pytest/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))) - skipping ERROR: Could not find a version that satisfies the requirement pytest (from versions: none) ERROR: No matching distribution found for pytest Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))) - skipping and I am stuck here, I tried doing it with some certificate (this one - http://curl.haxx.se/ca/cacert.pem) pip --cert ./cacert.pem install pytest but it didn't help at all and I still get same response Continue reading...