作者shredder (fly high)
看板Python
标题[问题] Heroku runtime上传问题
时间Wed Mar 25 10:51:01 2020
各位好请教关於在执行git push heroku master时出现:
remote: -----> Python app detected
remote: ! Requested runtime () is not available for this stack
(heroku-18).
remote: ! Aborting. More info:
https://devcenter.heroku.com/articles/python-support
remote: ! Push rejected, failed to compile Python app.
奇怪的是查网路资源大家的错误码, runtime至少有写出版本
试着用heroku支援的runtime python-3.6.10还是没法解决
https://devcenter.heroku.com/articles/python-runtimes
目前版本是3.8.2:
https://imgur.com/a/sidR3hX
请问是哪里出了问题呢,花了一个半小时还是解决不了...重装python还是一样
谢谢...
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 101.127.8.177 (新加坡)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Python/M.1585104665.A.175.html
1F:推 bugbug777: 你的django的版本是? 03/25 20:16
2F:→ bugbug777: 还有你的环境,作业系统,什麽简单附一下 03/25 20:23
3F:→ bugbug777: 然後,我不确定你的问题,不过runtime是文字档副档名 03/25 20:26
4F:→ bugbug777: 如果没有.txt可以试试看 03/25 20:26
5F:→ bugbug777: 内容是有分大小写的,以我自己django3.0为例子,runti 03/25 20:28
6F:→ bugbug777: me.txt里面的内容为python-3.7.6 03/25 20:28
7F:→ bugbug777: 还有如果上面不行的话试着改buildpack,参考这篇https: 03/25 20:32
8F:→ bugbug777: //reurl.cc/20rxVv 03/25 20:32