pip3 install -r requirements.txt
See original GitHub issuepip3 install -r requirements.txt
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting requests==2.23.0 (from -r requirements.txt (line 2))
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/requests/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/requests/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/requests/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/requests/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/requests/
Could not fetch URL https://pypi.org/simple/requests/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/requests/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement requests==2.23.0 (from -r requirements.txt (line 2)) (from versions: none)
ERROR: No matching distribution found for requests==2.23.0 (from -r requirements.txt (line 2))
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
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
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
python - How can I install packages using pip according to the ...
txt file and then run pip install -r /path/to/requirements.txt . This detects the change, upgrades the package, and leaves everything else alone ...
Read more >How to install Python packages with pip and requirements.txt
Install packages with pip: -r requirements.txt ... The following command will install the packages according to the configuration file ...
Read more >pip3 install -r requirements.txt) · Issue #13 - GitHub
after I run this (pip3 install -r requirements.txt) I got this error: ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c...
Read more >pip install - pip documentation v22.3.1
Install a list of requirements specified in a file. See the Requirements files. Unix/macOS. python -m pip install -r requirements.txt.
Read more >The Python Requirements File and How to Create it
Use the pip install -r requirements.txt command to install all of the Python modules and packages listed in your requirements.txt file. This ...
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 Free
Top 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
I believe #8473 contains a write up to this problem, with several reference links you can follow to resolve the problem. Regarding building the tarball from python.org, pyenv has a nice wiki page lining out what libraries you need to compile Python with SSL support. I’ll close this one so discussions can happen in one place; feel free to comment on the mentioned issue if you have difficulties following the description in it.
thank you very much