I get the following error when trying to install applications with pip.
Collecting django
Exception:
Traceback (most recent call last):
File "C:\Python34\lib\site-packages\pip\basecommand.py", line 232, in main
status = self.run(options, args)
File "C:\Python34\lib\site-packages\pip\commands\install.py", line 339, in run
requirement_set.prepare_files(finder)
File "C:\Python34\lib\site-packages\pip\req\req_set.py", line 333, in prepare_files
upgrade=self.upgrade,
File "C:\Python34\lib\site-packages\pip\index.py", line 305, in find_requirement
page = self._get_page(main_index_url, req)
File "C:\Python34\lib\site-packages\pip\index.py", line 783, in _get_page
return HTMLPage.get_page(link, req, session=self.session)
File "C:\Python34\lib\site-packages\pip\index.py", line 872, in get_page
"Cache-Control": "max-age=600",
File "C:\Python34\lib\site-packages\pip\_vendor\requests\sessions.py", line 473, in get
return self.request('GET', url, **kwargs)
File "C:\Python34\lib\site-packages\pip\download.py", line 365, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "C:\Python34\lib\site-packages\pip\_vendor\requests\sessions.py", line 461, in request
resp = self.send(prep, **send_kwargs)
File "C:\Python34\lib\site-packages\pip\_vendor\requests\sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "C:\Python34\lib\site-packages\pip\_vendor\cachecontrol\adapter.py", line 43, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File "C:\Python34\lib\site-packages\pip\_vendor\requests\adapters.py", line 337, in send
conn = self.get_connection(request.url, proxies)
File "C:\Python34\lib\site-packages\pip\_vendor\requests\adapters.py", line 245, in get_connection
proxy_manager = self.proxy_manager_for(proxy)
File "C:\Python34\lib\site-packages\pip\_vendor\requests\adapters.py", line 155, in proxy_manager_for
**proxy_kwargs)
File "C:\Python34\lib\site-packages\pip\_vendor\requests\packages\urllib3\poolmanager.py", line 265, in proxy_from_url
return ProxyManager(proxy_url=url, **kw)
File "C:\Python34\lib\site-packages\pip\_vendor\requests\packages\urllib3\poolmanager.py", line 216, in __init__
'Not supported proxy scheme %s' % proxy.scheme
AssertionError: Not supported proxy scheme abden003
I have tried running the following commands, but get the same error in both cases (I have tried using both python and python3):
pip install django
pip install django --proxy http://abden003:password@proxy.server.addr:port
pip3 install django
pip3 install django --proxy http://abden003:password@proxy.server.addr:port
The problem is not with my proxy server, since I tried it in a Linux vm and it works fine. It seems to be a problem with the windows version of pip.
I have tried the following but it did not fix the problem: