Python中文
首页
教程
问答
标签
搜索
登录
注册
问题:将Django项目部署到Heroku
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>我尝试将django应用程序部署到heroku,但出现错误:</p> <pre><code>remote: Compressing source files... done. remote: Building source: remote: remote: -----> Building on the Heroku-20 stack remote: -----> Using buildpack: heroku/python remote: -----> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure remote: remote: ! Push failed remote: Verifying deploy... remote: remote: ! Push rejected to tandt-online-webchat. remote: To https://git.heroku.com/tandt-online-webchat.git ! [remote rejected] master -> master (pre-receive hook declined) error: не удалось отправить некоторые ссылки в «https://git.heroku.com/tandt-online-webchat.git» </code></pre> <p>我做了所有需要的事情: git添加。 git commit-m“relize heroku vers 1” 当我推heroku master的时候,我得到了这个错误</p> <p>我有所有需要的文件:Procfile和requirements.txt 在Procfile中,我有:web:gunicorn web_chat.wsgi和to requirements.txt,我输入pip freeze,然后舒尔我有什么gunicorn她</p> <p>我做错了什么</p>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>一个常见的错误是您的requirements.txt文件有误。另一个可能发生的错误是,你的承诺已经非常错误。为此,请在本地重新初始化git存储库。然后确保添加了requirements.txt文件。你可以跟我核对一下</p> <pre><code>git status </code></pre> <p>如果这仍然不起作用,请让我知道</p>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
如何合并多个PDF文件?
4 回答
如何合并多个xarray数据变量及其坐标?
2 回答
如何合并多个列中具有重复值的行
8 回答
如何合并多个唯一id
3 回答
如何合并多个图纸并使用图纸名称的名称重命名列名?
7 回答
如何合并多个字典并添加同一个键的值?(Python)
4 回答
如何合并多个搜索结果文件(pkl)以将它们全部打印在一起?
5 回答
如何合并多个数据帧
7 回答
如何合并多个数据帧并使用Pandas为假人添加列?
4 回答
如何合并多个数据帧并按时间戳排序
6 回答
如何合并多个数据帧的列表并用另一个lis标记每列
6 回答
如何合并多个数据框中的列
9 回答
如何合并多个文件?
9 回答
如何合并多个查询集?
10 回答
如何合并多个绘图?
8 回答
如何合并多个词典
6 回答
如何合并多个输入数据集(数据帧)?
1 回答
如何合并多条记录中拆分的文本行
7 回答
如何合并多索引列datafram
9 回答
如何合并多级(即多索引)数据帧?
5 回答