-
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
ProtocolError while using pip (OSError 22 Invalid argument) #10500
Comments
@Kiolali I tried to reproduce this using a Windows 10 terminal with Python 3.9, but I din't get any errors. Do you have a specific configuration here? |
I can't reproduce it myself either. I also tried with another Windows 10 Laptop in the same network. It works on the other machine. |
I also tried On the following page https://docs.python.org/3/library/ssl.html is written: Any ideas what could be wrong? |
Well, you should not be able to run
This could be related, but I'm not sure at all. Maybe your |
That |
I know, but the error message was quite helpful (in contrast to the command |
Description
If I try to install a package via pip or try to upgrade pip (
python -m pip install --upgrade pip
) it fails (see output below).With Python 3.6 I do not have any problems. I also tried Python 3.8, which has the same behavior than Python 3.9 (32 and 64-bit version).
Deactivating IPV6 did not work. Calling
pip install --upgrade pip -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
as written here (#9216 (comment)) also works for me but is not a solution.Expected behavior
pip is updated.
pip version
21.2.3
Python version
3.9.7
OS
Windows 10, 64-bit
How to Reproduce
python -m pip install --upgrade pip
Output
The text was updated successfully, but these errors were encountered: