找不到任何满足pypm==1.3.4要求的下载

2024-06-11 00:29:10 发布

您现在位置:Python中文网/ 问答频道 /正文

推送到heroku时出错:“找不到任何满足要求的下载pypm==1.3.4”

正如Django - failed to push some refs to git@heroku.com中所建议的,我做到了

"pip install --upgrade -r requirements.txt"

Heroku无法从需求文件安装pypm包。 错误是:

Downloading/unpacking pypm==1.3.4 (from -r requirements.txt (line 11))
Could not find any downloads that satisfy the requirement pypm==1.3.4 (from -r requirements.txt (line1 1)).
No distributions at all found for pypm==1.3.4 (from -r requirements.txt (line 11))

有人知道怎么解决这个问题吗?


Tags: todjangofromgittxtcomherokuline
1条回答
网友
1楼 · 发布于 2024-06-11 00:29:10

pip install从PyPi中提取包,此错误告诉您此版本的pypm未在此处列出。看一下PyPi listing for ^{}注释,PyPM是ActivePython使用的包管理器,只有通过安装ActivePython才能使用。您应该从要部署到Heroku的requirements.txt中删除此要求。

相关问题 更多 >