Installing SSL package with PIP requires SSL package to be already installed #11391
Closed
1 task done
Labels
type: support
User Support
Description
I have CentOS 7 and Python 3.11 newly installed from source code with make altinstall.
I had to upgrage a software and it requires now Python 3.11.
I followed instructions from Internet (https://linuxstans.com/how-to-install-python-centos/), and now Python 3.11 is installed, but cannot download anything, so all the programs that have something to do with Internet, including PIP, do not work because SSL package is not installed.
The normal way to install a Python-package is to use PIP, which doesn't work because the SSL package I'm going to install is not installed.
I tried all the advices in internet, but they are all outdated and not working any more, because they are either not for the 3.11 version of Python or not for CentOS 7.
The error I'm getting when running the application software:
ModuleNotFoundError: No module named '_ssl'
When I try to install ssl with pip:
I downloaded GZip files from https://pypi.org/simple/ssl/, unpacked them locally and tried to install them from local source, but PIP still insists on HTTPS connection (oh gosh! I am making everything locally!).
What to do?
Please do not tell me that I have now to upgrade the whole operating system because of that.
Expected behavior
Packages should download from HTTPS.
pip version
21.2.4
Python version
3.11
OS
CentOS 7
How to Reproduce
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: