I am using Python3.6, when I try to install \"modules\" using pip3
, I am facing the below mentioned issue \"pip is configured with locations that require TLS/SS
For OpenSUSE in the same manner, but a few changes of listed above packages:
zypper install zlib-devel libopenssl-devel ncurses-devel sqlite3-devel readline-devel tk-devel gdbm-devel libpcap-devel xz-devel
Then cd
to Python sources dir and
make
make install
or
make
make altinstall
And perhaps
ln -s /usr/local/lib64/python3.6/lib-dynload/ /usr/local/lib/python3.6/lib-dynload
should be executed for OpenSUSE users. See Python 3.7 install not working on openSUSE Leap 42.3
The issue is due to OpenSSL package is missing on your PC.
If pip install openpyxl
also gives error.
you can fix this by installing OpenSSL(Win64 OpenSSL v1.1.1g) from below site :
slproweb.com/products/Win32OpenSSL.html
Restart the IDE you are using, for changes to be in effect.
Just try installing through Anaconda prompt
Fixed this without having to change anything related to TSL/SSL.
I was trying to see if the same thing was happening to pip
, and saw that pip
was broken. Did some digging and realized it's probably caused by Homebrew deleted python@2
on February 1st, 2020.
Running brew uninstall python@2
to delete python2 installed by Homebrew.
Destroyed the virtual env created using python3
and created a new one. pip3
installing works fine again.
This worked for me:
yum install python36-pyOpenSSL
python version and package manager might differ.
The problem probably comes from your installed openssl package version. That was the case for me and I fixed this issue just upgrading it. I'm on Mac OS, using brew :
brew upgrade openssl
If you installed python with brew, this should directly fix the issue with it, as python is dependent on openssl