Python heroku应用程序与buildp不兼容

2024-06-08 06:31:28 发布

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

我读了以前所有的文章,但仍然不能纠正它。我在Heroku创建的计算机目录中添加了requirements.txt和Procfile。Procfile读取“web:python Chat Server.py”。还将runtime.txt添加到读取“python-3.6.2”的同一目录中,但是在命令提示符中再次出现同样的错误。我该怎么解决?这是整个错误消息:

“C:\Users\asus\chat\u server>;git推送heroku主机 计数对象:6,完成。 使用多达4个线程的增量压缩。 压缩对象:100%(4/4),完成。 书写对象:100%(6/6),1.14 KiB | 585.00 KiB/s,完成。 总计6(增量1),重复使用0(增量0) 远程:压缩源文件。。。完成。 远程:建筑源: 远程: 远程:---->;应用程序与buildpack不兼容:https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/python.tgz 远程:更多信息:https://devcenter.heroku.com/articles/buildpacks#detection-failure 远程: 遥控器:!推送失败 远程:正在验证部署。。。 远程: 遥控器:!拒绝推至沸水-15219。 远程: 到https://git.heroku.com/boiling-stream-15219.git ! [远程拒绝]主机->;主机(拒绝预接收挂钩) 错误:无法将某些引用推送到“https://git.heroku.com/boiling-stream-15219.git


Tags: 对象httpsgitgt目录txtcomheroku

热门问题