Error while pushing to Heroku: requested runtime is not available for this stack

Check your current version of Python:

C:\Python --version

Suppose:

Python 3.8.5

Now goto runtime.txt & specify your version of Python:

Syntax: python-<version>


Example:

python-3.8.5 is CORRECT.

Python-3.8.5 is INCORRECT.

Python 3.8.5 is INCORRECT.

Leave a Comment