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

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14420589/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 08:02:56  来源:igfitidea点击:

Could not find any downloads that satisfy the requirement pypm==1.3.4

pythondjangogitherokupip

提问by kchoi

Error on pushing to heroku : "Could not find any downloads that satisfy the requirement pypm==1.3.4"

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

As suggested in Django - failed to push some refs to [email protected], I did

正如Django 中所建议的- 未能将一些引用推送到 [email protected],我做到了

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

Heroku was not able to install from requirements file the pypm package. The error was:

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))

下载/解包 pypm==1.3.4(来自 -r requirements.txt(第 11 行))
找不到任何满足 pypm==1.3.4 要求的下载(来自 -r requirements.txt(第 1 行))。
根本找不到 pypm==1.3.4 的发行版(来自 -r requirements.txt(第 11 行))

Does anyone have any clue how to resolve this?

有没有人知道如何解决这个问题?

回答by Mark Lavin

pip installpulls packages from PyPi and this error is telling you that this version of pypmis not listed there. Looking at the PyPi listing for pypmnotes that PyPM is the package manager used by ActivePython and is only available by installing ActivePython. You should remove this requirement from your requirements.txtto deploy to Heroku.

pip install从 PyPi 中提取包,这个错误告诉你这个版本pypm没有在那里列出。查看PyPi 清单,pypm了解 PyPM 是 ActivePython 使用的包管理器,只有通过安装 ActivePython 才能使用。您应该从requirements.txt部署到 Heroku 中删除此要求。