Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python pip broken after update

Tags:

python

pip

I am seeing the following error from pip on several versions of python3 that I am running:

...
    raise MissingSchema('Proxy URLs must have explicit schemes.')
pip._vendor.requests.exceptions.MissingSchema: Proxy URLs must have explicit schemes.

It looks like something with the requests library.

And this is with pip 1.5.2 on python 3.3.4

like image 677
mathtick Avatar asked Mar 10 '14 15:03

mathtick


1 Answers

I'm guessing that the new version is more strict about checking that your proxy settings are valid. If you have an environment variable like http_proxy=localhost:3128 then update it to http_proxy=http://localhost:3128 and you should be fine again. (Ditto for https_proxy -- actually I guess recent versions of pip insist on using HTTPS?)

like image 142
tripleee Avatar answered Oct 10 '22 08:10

tripleee