WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
python -m pip install --upgrade --force-reinstall pip
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
python -m pip install --upgrade --force-reinstall pip
Could not build the ssl module! Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host(). LibreSSL 2.6.4 and earlier do not provide the necessary APIs, https://github.com/libressl-portable/portable/issues/381
$ cd ~
$ wget https://www.openssl.org/source/openssl-1.1.1b.tar.gz
$ wget https://www.openssl.org/source/openssl-1.1.1b.tar.gz.sha256
$ sha256sum openssl-1.1.1b.tar.gz
$ cat openssl-1.1.1b.tar.gz.sha256
$ tar zxvf openssl-1.1.1b.tar.gz
$ ls /home/username/
$ ./config --prefix=/home/username/openssl --openssldir=/home/username/openssl no-ssl2
$ cd openssl-1.1.1b
$ ./config --prefix=/home/username/openssl --openssldir=/home/username/openssl no-ssl2
$ make
$ make test
$ make install
$ cd ~
$ vim ./.bash_profile
$ source .bash_profile
$ which openssl
$ openssl version
$ cd Python-3.7.6
$ ./configure --prefix=$HOME/.local --with-ensurepip=yes CFLAGS="-I$HOME/openssl/include" LDFLAGS="-L$HOME/openssl/lib"
$ make
$ make install
$ source ~/.bash_profile
$ python3 -V
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us