What to do if you get Could not fetch URL 443 with pip

I got an error when trying to install a package using pip with venv!

Could not fetch URL https://pypi.org/simple/certifi/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/certifi/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)) - skipping

Apparently the cause is SSLError.

As a result of google, the following two came out.

Read this if you get SSL related errors with pip install! !! !! Resolve error that pip does not work

I referred to these, but it didn't work ...

After that, when I remade venv, it went smoothly.

Rethinking why this happened, the venv I made just before this

$virtualenv name

I made it with. Why do you do this ...

The result of re-googled

$ python3 -m venv name

I remade it with and it worked.

If you are addicted to it, I recommend you to try it again.

Recommended Posts

What to do if you get Could not fetch URL 443 with pip
What to do if you get a UnicodeDecodeError with pip install
What to do if you can't install pyaudio with pip #Python
What to do if you get an Undefined error when trying to use pip with pyenv
What to do if you get lost in file reference with FileNotFoundError
What to do if you can't install with pip in babun environment
What to do if you can't pip install mysqlclient
What to do if you get an error when installing python with pyenv
What to do if you get "Python not configured." Using PyDev in Eclipse
What to do if you get "The session could not be opened" when installing CentOS on VirtualBox
What to do when you get angry that libxml / xmlversion.h does not exist when you put lxml with pip
[AWS] What to do when you want to pip with Lambda
What to do if you get "coverage unknown" in Coveralls
What to do if you can't sort files with subscripts
What to do if you get an OpenSSL error when installing Python 2 with pyenv
What to do if you get an Import Error when importing matplotlib with Jupyter
What to do if you get a minus zero in Python
What to do if you can't build your project with Maven
What to do if you can't find well with grep's -f option
What to do if you can't pipenv shell
What to do if you couldn't send an email to Yahoo with Python.
Note: What to do if pip install fails
What to do if you get angry in TensorFlow v2 without attribute'app'
What to do if pyenv install does not proceed with an error
What to do if you get an error when installing Dlib (Ubuntu)
EC2 / Amazon Linux2: What to do if you get an "unable to execute'gcc': No such file or directory" error with pip install
What to do if you get a "Wrong Python Platform" warning when using Python with the NetBeans IDE
What to do if you get angry with "Value Error: unknown local: UTF-8" in python manage.py syncdb
What to do if you get a "No versions found" error in pipenv
Workaround if you get an error when trying to install PySide with pip
What to do if scrapy doesn't work after installing scrapy with pip on mac
What to do if pip install fails in Xcode 5.1
No module named What to do if you get'libs.resources'
ModuleNotFoundError: No module What to do if you get'tensorflow.contrib'
Links to do what you want with Sublime Text
What to do if a UnicodeDecodeError occurs in pip
What to do if pip install fails to install dependent libraries
What to do if sys / cdefs.h does not exist
What to do if pyenv is not enabled (zsh)
What to do if you get an "unknown service" error from your gRPC server
What to do if you get `No kernel for language python found` in Hydrogen
What to do if you get a memory error when converting from PySparkDataFrame to PandasDataFrame
What to do if you get "(35,'SSL connect error')" in pycurl (one of them)
What to do if you get an error when importing matplotlib in Python (Mac)
What to do if you get the error ʻERR_FEATURE_UNAVAILABLE_ON_PLATFORM` when using ts-node-dev on Linux
What to do if you run python in IntelliJ and end with an error
What to do if you are addicted to Windows character code
What to do if pip gives a DistributionError in Homebrew
Move what you installed with pip to the conda environment
What to do if `pip install matplotlib` fails on Mac
What to do if you can't log in as root
What to do if you can't use WiFi on Linux
What to do if pip install mysqlclient fails on MacOS
What to do if you lose your EC2 key pair
What to do if you get a Call with too many input arguments error at DoAndReturn in a golang test
What to do if you get the error "Error: opencv3: Does not support building both Python 2 and 3 wrappers" when installing openCV 3
What to do if yum breaks
What to do with Magics install
What to do if you get Swagger-codegen in python and Import Error: No module named
What to do if you get a Cannot retrieve metalink for repository error in yum
What to do to get tensorflow-gpu to work