Python Forum
Problem to use pip behind cntlm / corporate proxy
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem to use pip behind cntlm / corporate proxy
#1
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:

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>
so as you can see, cntlm and requests are working fine... then it comes to pip:


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.
Reply


Messages In This Thread
Problem to use pip behind cntlm / corporate proxy - by markus7811 - Oct-04-2017, 06:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem Getting Pip To Work Behind Linux Proxy joedirgy 0 1,750 Feb-06-2021, 07:57 PM
Last Post: joedirgy
  Login to Corporate Website tkj80 2 2,822 Aug-15-2018, 02:19 AM
Last Post: tkj80

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020