-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Didn't set proxy but it says proxy is malform #12649
Comments
Can you please share the output of |
Ok, there is a global.proxy set some where. I remove it and it is working now. Thanks. |
It may be worth it to catch proxy exceptions from requests and emit a more specific error message, which suggests to check |
I could try to add that line in a PR. I have two ideas in mind, the second being the good one I think:
I think that 2 is the best choice, and probably I would like to try and fix that. |
Description
pip3 install flask
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not install packages due to an OSError: Please check proxy URL. It is malformed and could be missing the host.
No proxy is set:
printenv | grep proxy
Expected behavior
No response
pip version
24.0.0
Python version
3.10
OS
Ubuntu
How to Reproduce
Do a simple installation
Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: