python - 找不到满足 jdcal 要求的版本
问题描述
我已经为 python 创建了一个用于开发的虚拟环境。我的工作需要模块 openpyxl。首先我下载了 .tar.gz 文件,然后我使用命令 pip install repo/openpyxl-2.5.6 tar.gz 其中“repo”是我保存 .tar.gz 文件的目录。使用此错误后我收到以下错误-
[venv] sccj019251> pip install repo/openpyxl-2.5.6.tar.gz
Processing ./repo/openpyxl-2.5.6.tar.gz
Collecting jdcal (from openpyxl==2.5.6)
Retrying (Retry(total=4, connect=None, read=None, redirect=None,
status=None)) after connection broken by
'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection
object at 0x7fc0f1ecccf8>, 'Connection to pypi.org timed out. (connect
timeout=15)')': /simple/jdcal/
Retrying (Retry(total=3, connect=None, read=None, redirect=None,
status=None)) after connection broken by
'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection
object at 0x7fc0f1ea6320>, 'Connection to pypi.org timed out. (connect
timeout=15)')': /simple/jdcal/
Retrying (Retry(total=2, connect=None, read=None, redirect=None,
status=None)) after connection broken by
'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection
object at 0x7fc0f1ea65c0>, 'Connection to pypi.org timed out. (connect
timeout=15)')': /simple/jdcal/
Retrying (Retry(total=1, connect=None, read=None, redirect=None,
status=None)) after connection broken by
'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection
object at 0x7fc0f1ea6dd8>, 'Connection to pypi.org timed out. (connect
timeout=15)')': /simple/jdcal/
Retrying (Retry(total=0, connect=None, read=None, redirect=None,
status=None)) after connection broken by
'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection
object at 0x7fc0f1ea66a0>, 'Connection to pypi.org timed out. (connect
timeout=15)')': /simple/jdcal/
Could not find a version that satisfies the requirement jdcal (from
openpyxl==2.5.6) (from versions: )
No matching distribution found for jdcal (from openpyxl==2.5.6)
请告诉我如何解决此错误
解决方案
推荐阅读
- java - System.out.format("height is %3.1f percent greater than length\n", percent); 是什么意思?用Java做?
- javafx - TableView updateItem 上的 setRowFactory - 样式 -fx-font-weight:粗体不起作用
- javascript - 如何使用硬件键盘键触发 html 按钮及其 onclick 功能?
- javascript - 谷歌优化防闪烁片段超时
- jquery - JQuery在第一次点击时不触发,但在第二次点击时触发
- webpack - 如何让 eslint 导入/首先了解我的 webpack 别名?
- python - 将一个 GeoPandas 数据框中的每个点链接到另一个数据框中的多边形
- html - 如何使用 react-bootstrap 正确呈现内容?
- xcode - 使用 altool 将 IPA 上传到苹果不起作用
- javascript - jQuery使用变量提取文件名