I would like to permanently run the Discord Bot I created using Heroku.
I'm working with GitHub now, but I don't know if the method is right.
I just created a repository on GitHub and moved the program I made with VScode and other files to the file I made and GitPush at the terminal of VScode.
I'm sorry if the method is wrong at this point.
Error Code Received When Running "Deploy Branch"
Python app detected
! Requested runtime (Python-3.9.1) is not available for this stack (heroku-18).
! Aborting.More info: https://devcenter.heroku.com/articles/python-support
! Push rejected, failed to compile Python app.
! Push failed
According to the link,
If you receive the error qRequested runtime is not available for this stack と using any of the above versions, make sure that the app is using the latest version of Python build pack.
That's right.
As the link says,
heroku buildpacks:clear
heroku buildpacks —add heroku/python
heroku buildpacks
Let's run the command in the
There is a file called runtime.txt in the root directory of the bot.Try changing Python-3.9.1 to python-3.9.1
.
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
911 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
617 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.