Skip to content

pip3 install -r requirements.txt #8500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
haseebrj17 opened this issue Jun 25, 2020 · 6 comments
Closed

pip3 install -r requirements.txt #8500

haseebrj17 opened this issue Jun 25, 2020 · 6 comments
Labels
type: support User Support

Comments

@haseebrj17
Copy link

haseebrj17 commented Jun 25, 2020

pip3 install -r requirements.txt
VirtualBox_Kali Linux 32 Bit_25_06_2020_19_09_45

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
@ghost ghost added the S: needs triage Issues/PRs that need to be triaged label Jun 25, 2020
@McSinyx
Copy link
Contributor

McSinyx commented Jun 25, 2020

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

How did you install pip? And please provide pip version and your system details.

@haseebrj17
Copy link
Author

I installed Python3.8 and Pip 20.0.2 came with it and Python3 was installed by first extracting and then using the following commands
./configure
make
make install
and my system is 32-bit Debian based Kali Linux 2020.2

@McSinyx
Copy link
Contributor

McSinyx commented Jun 25, 2020

May I ask where did you get it?

@haseebrj17
Copy link
Author

the official python website

@uranusjr
Copy link
Member

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.

@haseebrj17
Copy link
Author

thank you very much

@pradyunsg pradyunsg added the type: support User Support label Jun 25, 2020
@ghost ghost removed the S: needs triage Issues/PRs that need to be triaged label Jun 25, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: support User Support
Projects
None yet
Development

No branches or pull requests

4 participants