I've been trying this with python3.10.0rc1 and having trouble. The python installation succeeds but afterwards I am unable to install anything with pip because it can't find openssl. Anyone know what step I'm missing?
The ./configure is finding openssl correctly
./configure --prefix=$HOME/opt 2>&1 | tee /tmp/conf.log
grep -i ssl /tmp/conf.log
checking whether compiling and linking against OpenSSL works... yes
checking for --with-openssl-rpath...
checking for --with-ssl-default-suites... python
But after make && make install
when I run pip I get this error:
~/opt/bin/pip3.10 install -U pip
I get this error:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
What should I be doing in addition?