【问题标题】:Not being able to install requests with pip3 [duplicate]无法使用 pip3 安装请求 [重复]
【发布时间】:2021-02-02 02:24:18
【问题描述】:

在我的 2020.3 版本中,Kali 当我尝试使用 pip3 安装请求时,出现此错误...谁能帮助我,我无法理解它

root@kali:~# pip3 install requests
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
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 (from versions: none)
ERROR: No matching distribution found for requests
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
root@kali:~# 

【问题讨论】:

标签: python pip kali-linux


【解决方案1】:

嗯,我想我输入了错误的链接。我的意思是试试这个->this 基本上,如果你在 Mac 上,你需要自制软件。

【讨论】:

  • 哎呀我不在 mac :(
  • 在同一个链接中有一个 Debian 的答案。试试看
  • E: Unable to locate package libtk8.5 E: Couldn't find any package by glob 'libtk8.5' 再次通过该链接从解决方案中收到此错误
猜你喜欢
  • 2017-10-13
  • 1970-01-01
  • 2018-01-09
  • 2018-07-13
  • 1970-01-01
  • 2022-07-16
  • 2021-09-11
  • 2018-08-05
  • 1970-01-01
相关资源
最近更新 更多