Oct-04-2017, 06:34 PM
Hi,
my problem isn't related to code itself, but to pip. I have to use several pip packages, but have the problem, i can not install them. The following problem:
so as you can see, cntlm and requests are working fine... then it comes to pip:
my problem isn't related to code itself, but to pip. I have to use several pip packages, but have the problem, i can not install them. The following problem:
1 2 3 4 5 6 |
bash - 4.2 # echo $http_proxy 10.0 . 75.1 : 3128 bash - 4.2 # echo $https_proxy 10.0 . 75.1 : 3128 bash - 4.2 # curl www.google.de <!doctype html><html itemscope = " " itemtype=" http: / / schema.org / WebPage " lang=" de "><head><meta content=" text / html; charset = UTF - 8 " http-equiv=" Content - Type "><meta content=" / images / branding / googleg / 1x / googleg_standard_color_128dp.png " itemprop=" image"><title>Google< / title>... the source of the google landing page ... < / script>< / div>< / body>< / html> |
1 |
bash - 4.2 # pip install deepdiff |
Error:Collecting deepdiff
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/deepdiff/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/deepdiff/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/deepdiff/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/deepdiff/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response',))': /simple/deepdiff/
Could not find a version that satisfies the requirement deepdiff (from versions: )
No matching distribution found for deepdiff
Any ideas? Btw. Python/pip is the only app that wont run behind cntlm.