SSL related when trying to install the module with pip? A memo of the correspondence when the error of is solved.
When I tried to install the module with pip, I got the following warning.
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Actually, there were some other warnings, but they were all related.
After investigating, there were some solutions suggested, but I solved it by reinstalling pip and Python.
pyenv install 3.8.0
(By the way, I got the error python-build: definition not found: 3.8.0
. The solution at that time is summarized in here. T.)
Next, specify that this version will be used. I don't want to use it only in a specific directory, so use global instead of local.
pyenv global 3.8.0
Confirmed just in case.
% python --version
Python 3.8.0
OK. I was able to use pip install
safely.
Recommended Posts