Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Django的Heroku要求_Python_Django_Heroku_Deployment - Fatal编程技术网

Python Django的Heroku要求

Python Django的Heroku要求,python,django,heroku,deployment,Python,Django,Heroku,Deployment,我正试图通过Heroku部署我的Django项目。我已经做了:pipfreeze>requirements.txt来生成需求文件 在部署时,我遇到以下错误- ERROR: Could not find a version that satisfies the requirement apturl==0.5.2 (from -r /tmp/build_3fb1fde9_/requirements.txt (line 1)) (from versions: none) ERROR: No match

我正试图通过Heroku部署我的Django项目。我已经做了:
pipfreeze>requirements.txt
来生成需求文件

在部署时,我遇到以下错误-

ERROR: Could not find a version that satisfies the requirement apturl==0.5.2 (from -r /tmp/build_3fb1fde9_/requirements.txt (line 1)) (from versions: none)
ERROR: No matching distribution found for apturl==0.5.2 (from -r /tmp/build_3fb1fde9_/requirements.txt (line 1))
我试图在我的系统中执行
pip安装
,但再次遇到异常-
requests.exceptions.HTTPError:404客户端错误:找不到URL:https://pypi.org/simple/apturl/

注意-这是我第一次部署我的项目。我猜我需要做
pip安装
,所以我做了。如果我应该做些别的事情来满足要求


谢谢

apturl看起来不像是一个pypi包。它看起来像一个系统包。例如,在Linux中,当我尝试执行-
sudo-apt-get-install-apturl==0.5.2
时,您将使用
apt-get-install-apturl
安装它。它向我显示``E:在执行
sudo apt get install apturl=0.5.2
时找不到包apturl=```。它向我显示``E:找不到'apturl'的版本'0.5.2```并且正在执行-
sudo-apt-get-install-apturl
。这表明需求已经满足,但我仍然无法部署我的项目,并且在heroku遇到同样的错误