Step by step guide to install Python 3.6 and pip3 in Ubuntu
Install the necessary packages for Python and ssl:
$ sudo apt-get install build-essential libffi-dev libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-devDownload and unzip "Python-3.6.8.tar.xz" from https://www.python.org/ftp/python/ into your home directory.
Open terminal in that directory and run:
$ ./configureBuild and install:
$ make && sudo make installInstall packages with:
$ pip3 install package_name
Disclaimer: The above commands are not tested in Ubuntu 20.04 LTS.
Answer from arshovon on Stack OverflowStep by step guide to install Python 3.6 and pip3 in Ubuntu
Install the necessary packages for Python and ssl:
$ sudo apt-get install build-essential libffi-dev libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-devDownload and unzip "Python-3.6.8.tar.xz" from https://www.python.org/ftp/python/ into your home directory.
Open terminal in that directory and run:
$ ./configureBuild and install:
$ make && sudo make installInstall packages with:
$ pip3 install package_name
Disclaimer: The above commands are not tested in Ubuntu 20.04 LTS.
If you are on Windows and use anaconda this worked for me:
I tried a lot of other solutions which did not work (Environment PATH Variable changes ...)
The problem can be caused by DLLs in the Windows\System32 folder (e.g. libcrypto-1_1-x64.dll or libssl-1_1-x64.dll or others) placed there by other software.
The fix was installing openSSL from https://slproweb.com/products/Win32OpenSSL.html which replaces the dlls by more recent versions.
My python does not have ssl module. What should I do?
This should help: https://stackoverflow.com/a/44758621
You were missing essential libraries when you installed Python 3.
More on reddit.compip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Installing SSL package with PIP requires SSL package to be already installed
Can't install any package via `pip` on windows 10, ssl module in Python is not available
Videos
» pip install ssl
I use linux mint and I use python 3.6.
I can't install packages via pip or any ways using ssl certificates. Should I delete python 3.6 and reinstall? If so, how? Or any other ways to figure this out?
» pip install pyOpenSSL