want to continue question
How to get pip to work behind a proxy server
I have Windows Server and Python 3.5 (64).
In password my user include #.
I try to use some solve:
"C:Program FilesPython35scriptspip.exe" install --proxy http://proxy_user:pwd#[email protected]:1111 TwitterApi
"C:Program FilesPython35scriptspip.exe" install --proxy "http://proxy_user:pwd#123"@proxy.su:1111 TwitterApi
"C:Program FilesPython35scriptspip.exe" install --proxy http://"proxy_user:pwd#123"@proxy.su:1111 TwitterApi
"C:Program FilesPython35scriptspip.exe" install --proxy http://proxy_user:"pwd#123"@proxy.su:1111 TwitterApi
BUT to get error
File "c:program filespython35libsite-packagespip\_vendor
equestspackage
surllib3utilurl.py", line 189, in parse_url
raise LocationParseError(url)
pip._vendor.requests.packages.urllib3.exceptions.LocationParseError: Failed to p
arse: proxy_user:pwd
How escape character # in this case?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…