Error Install Python3.7.3 From Source

Install Python From Source

Error Install Python3.7.3 From Source
Page content


[root@test_board_nvidia_runtime_enabled python3.7.3]# ./bin/pip3.7 list nodejs
Package    Version
---------- -------
pip        19.0.3
setuptools 40.8.0
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='', 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


~# yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel \
   readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel

~# cd /usr/local/src/Python-3.7.3/
~# ./configure --prefix=/usr/local/python373 
~# make -j 4
~# make install