python - 找不到满足要求的版本,错误python
问题描述
我正在尝试安装reverse_geocoder
模块,但我不断收到以下错误
PS C:\Users\Raneem> pip install reverse_geocoder
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting reverse_geocoder
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/reverse-geocoder/
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/reverse-geocoder/
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/reverse-geocoder/
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/reverse-geocoder/
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/reverse-geocoder/
Could not fetch URL https://pypi.org/simple/reverse-geocoder/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/reverse-geocoder/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
Could not find a version that satisfies the requirement reverse_geocoder (from versions: )
No matching distribution found for reverse_geocoder
我应该怎么办?
解决方案
尝试这个:
pip install --trusted-host pypi.python.org reverse_geocoder
推荐阅读
- iis - IIS Windows 身份验证在 SERVER 上不断提示
- angular - ag-grid 单元格编辑只允许数字
- javascript - React 中的获取请求:如何映射对象数组中的 JSON 对象数组?
- javascript - 带 TS 的 Redux Toolkit:调度两个连续异步 thunk 操作的推荐方法是什么
- iis - 通过 Cloudflare 连接到 Zoom API 的问题
- java - @SpringBootApplication 注解未在类路径中找到 bean
- datatables - 数据表排序问题(而不是第一行取第二行进行排序)
- html - 如何使 CSS 多行打字机效果响应?
- android - 无法膨胀行为子类 com.google.android.material.transition.MaterialContainerTransform
- javascript - 什么类型的 import 语句用于从 ES6 转译到 ES5 的文件?