python - 错误 : No matching distribution found for ipython==7. 17.0

标签 python heroku pip ipython

我向 Heroku 上传了一个 Python 应用程序。在我的 requirements.txt文件我有一行 ipython==7.17.0但是 Heroku 似乎无法检索它,我不明白为什么会发生这种情况,因为我可以下载该 ipython我机器上的版本。
抛出的完整错误是:

ERROR: Could not find a version that satisfies the requirement ipython==7.17.0 (from -r /tmp/build_76afe907/requirements.txt (line 32)) (from versions: 0.10, 0.10.1, 0.10.2, 0.11, 0.12, 0.12.1, 0.13, 0.13.1, 0.13.2, 1.0.0, 1.1.0, 1.2.0, 1.2.1, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 4.0.0b1, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.1.0rc1, 4.1.0rc2, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.1, 5.0.0b1, 5.0.0b2, 5.0.0b3, 5.0.0b4, 5.0.0rc1, 5.0.0, 5.1.0, 5.2.0, 5.2.1, 5.2.2, 5.3.0, 5.4.0, 5.4.1, 5.5.0, 5.6.0, 5.7.0, 5.8.0, 5.9.0, 5.10.0, 6.0.0rc1, 6.0.0, 6.1.0, 6.2.0, 6.2.1, 6.3.0, 6.3.1, 6.4.0, 6.5.0, 7.0.0b1, 7.0.0rc1, 7.0.0, 7.0.1, 7.1.0, 7.1.1, 7.2.0, 7.3.0, 7.4.0, 7.5.0, 7.6.0, 7.6.1, 7.7.0, 7.8.0, 7.9.0, 7.10.0, 7.10.1, 7.10.2, 7.11.0, 7.11.1, 7.12.0, 7.13.0, 7.14.0, 7.15.0, 7.16.0, 7.16.1)        
ERROR: No matching distribution found for ipython==7.17.0 (from -r /tmp/build_76afe907/requirements.txt (line 32))

最佳答案

最后允许的版本是 7.16.1 ,这意味着您使用 Python 3.6。
7.17需要 Python 3.7+。

关于python - 错误 : No matching distribution found for ipython==7. 17.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63603325/

相关文章:

python - 减少由于 azure databricks 中 GC 分配失败而导致的时间延迟的步骤

python - Pipfile 和 Pipfile.lock 如何使用?

Python - 如何合并和交换两个列表的每个第 n 个元素

python - 将 PySpark DF 写入专用格式的文件

node.js - Nest.JS 部署到 Heroku

reactjs - Heroku 重定向 Next.js React 客户端应用程序 http 到 https

python - Git - 是否应该将 Pipfile.lock 提交给版本控制?

python - 在 `pip install` ing 时可选择排除一些依赖项

python - Pandas:如何从 CSV 读取字节和非字节列并解码字节列?

python - 将嵌入 Flask 中的 Bokeh 服务器图部署到 Heroku