所以我尝试使用 Heroku 和 GitHub 存储库托管一个不和谐的机器人。部署成功了,但是当我转到应用程序时,它给了我一个错误。它告诉我检查我的日志,它说:
-----> Building on the Heroku-20 stack
-----> Using buildpack: heroku/python
-----> Python app detected
-----> No Python version was specified. Using the buildpack default: python-3.9.5
To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes
-----> Installing python-3.9.5
-----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
-----> Installing SQLite3
-----> Installing requirements with pip
-----> Discovering process types
Procfile declares types -> (none)
-----> Compressing...
Done: 51.3M
-----> Launching...
Released v3
https://commanderzavala.herokuapp.com/ deployed to Heroku
我写的代码是python,requirements.txt是空的。如果重要的话,我使用 replit
来编写代码。
您可以在此处找到代码:https://github.com/MacatacWarrior/commanderzavala