Answers for "WARNING: The scripts pip.exe, pip3.8.exe and pip3.exe are installed in"

3

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
Posted by: Guest on May-11-2020
0

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
Posted by: Guest on April-12-2020

Browse Popular Code Answers by Language