Oct-30-2017, 10:43 PM
This is a copy of a thread I started on StackOverflow which is getting down voted for being off topic. I regret that I didn't think to ask the good folks here first. https://stackoverflow.com/questions/4700...rk-adapter
Python (3.6) works great on my wired network adapter but I am unable to run pip (or pycurl or urllib) when on the wireless. I receive the following error, which led me to believe that it's proxy related:
How do I tell the python environment that I want it to direct all traffic over the wireless adapter instead of the wired adapter?
FYI, I'm always on wireless. The only time I have to connect to the wire is to do python network things.
Python (3.6) works great on my wired network adapter but I am unable to run pip (or pycurl or urllib) when on the wireless. I receive the following error, which led me to believe that it's proxy related:
Output:PS C:\Projects> py -m pip install --upgrade pip
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x000001BC58ADF6D8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))': /simple/pip/
But I'm not behind a proxyOutput:PS C:\Projects> netsh winhttp show pro
Current WinHTTP proxy settings:
Direct access (no proxy server).
and I know how to set the proxy for pip, pycurl, and urllib.How do I tell the python environment that I want it to direct all traffic over the wireless adapter instead of the wired adapter?
FYI, I'm always on wireless. The only time I have to connect to the wire is to do python network things.