Getting this error on deploying django app on Apps
Requested runtime 'python-3.9.18' is not available for this stack (heroku-22).
I’ve added the runtime.txt file as well having same version.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Heya @hamzaasif,
It’s possible you’ve not added the python version properly. In
runtime.txt
& specify your version of Python like so:Here are some examples of how it should be specified:
python-3.9.18
is CORRECT.Python-3.9.18
is INCORRECT.Python 3.9.18
is INCORRECT.https://docs.digitalocean.com/products/app-platform/reference/buildpacks/python/
If the error is still present, try using another Python version.