pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
See original GitHub issueTrying to use Python 3.6 on Ubuntu 16.04:
Execute installation script
##[debug]Check if Python hostedtoolcache folder exist...
##[debug]Deleting Python 3.6.10
##[debug]Create Python 3.6.10 folder
##[debug]Copy Python binaries to hostedtoolcache folder
##[debug]Create additional symlinks (Required for UsePythonVersion VSTS task)
##[debug]Upgrading PIP...
##[debug]Looking in links: /tmp/tmp5xjr9lqz
##[debug]Requirement already satisfied: setuptools in /opt/hostedtoolcache/Python/3.6.10/x64/lib/python3.6/site-packages (40.6.2)
##[debug]Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.6.10/x64/lib/python3.6/site-packages (18.1)
##[debug]Collecting pip
##[debug]Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', 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
##[debug]Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', 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
##[error]The process '/bin/bash' failed with exit code 1
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Set up Python
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:41 (4 by maintainers)
Top Results From Across the Web
pip is configured with locations that require TLS/SSL, however ...
I got into this problem using Ubuntu, pyenv and Python 3.8.1 managed by pyenv. There was actually no ...
Read more >pip3.10.4 is configured with locations that require TLS/SSL ...
Issue 47201 : pip3. 10.4 is configured with locations that require TLS/SSL, however the ssl module in Python is not available - Python...
Read more >SSL module in Python is not available | unable to ... - YouTube
WARNING: pip is configured with locations that require TLS / SSL, however the ssl module in Python is not available Stay tuned and...
Read more >WARNING: pip is configured with locations that require TLS ...
I'm using Kali Linux 2020.1, I installed Python3. 7, then after trying to install modules using pip3 command I keep getting this error...
Read more >pip is configured with locations that require TLS/SSL ... - IBM
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available · Problem. When you are trying...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
resolved.
./configure --with-openssl=/home/username/openssl
python3 -m ssl
and nothing outputs, it’s ok.If any body still facing issue Follow these steps install openssl with /home/username
set export PATH=$HOME/openssl/bin:$PATH export LD_LIBRARY_PATH=/home/username/openssl/lib export LC_ALL=“en_US.UTF-8” export LDFLAGS=“-L/home/username/openssl/lib -Wl,-rpath,/home/username/openssl/lib” export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/home/username/openssl/lib/
execute in Python folder ./configure -prefix=/home/username/Python38/ --with-openssl=/home/username/openssl make make install python3 -m ssl