Ask Your Question
4

What is the solution to Pip SSL error occurring on Windows?

asked 2023-05-04 13:17:14 +0000

huitzilopochtli gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-05-04 13:24:01 +0000

woof gravatar image

There are several solutions that you can try to solve the Pip SSL error on Windows:

  1. Upgrade Pip to the latest version by running the command: pip install --upgrade pip.

  2. Disable SSL verification temporarily by running the command: pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org <package>.

  3. Upgrade your SSL certificates by downloading the certificates from the official website and adding them to your Windows certificate store.

  4. Use a virtual environment for your Python packages and install the required packages in a separate environment.

  5. Update your SSL configuration by editing the configuration file located at C:\Program Files (x86)\Python\<version>\Lib\site-packages\pip\_vendor\requests\cacert.pem.

  6. Check if you have any antivirus or firewall software that may interfere with the SSL verification process and temporarily disable them.

If none of the above solutions work, you can also try reinstalling Python and Pip on your Windows machine.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-04 13:17:14 +0000

Seen: 14 times

Last updated: May 04 '23