As of now, April 2026, it seems that there is no existing combination anymore for python which works. I also checked the list of active scrapers, there’s not even one which is working right now.
It seems that there are very old (frozen) versions of heraku-18 and heraku-24 (called early_release) which (my guess) have a whitelist of supported python version which are now all end-of-life.
Opinion from Claude.ai about platform early_release:
From your logs, something can be deduced:
When you specify python-3.12 (without patch), morph.io resolves it to 3.12.7 — that was Heroku’s default version in autumn 2024. This means the buildstep image was frozen sometime in late 2024 and only knows the versions from that point in time.
So try exactly these versions, which were current in autumn 2024:
python-3.12.7, python-3.11.10, python-3.10.15, python-3.13.0
If none of these work, the morph.io early_release buildpack is simply broken/inconsistent — and it might be worth opening an issue directly on help.morph.io. It’s a small open-source project (OpenAustralia Foundation) and Python version problems are exactly the kind of bug they appreciate being reported.
Opinion from Claude.ai about platform heroku-18:
At this point it’s clear that nothing works reliably on either platform. The morph.io buildstep images are badly out of sync with both the old and new Heroku buildpacks.
I’d suggest two things:
- Try without any runtime.txt at all — let morph.io pick whatever default it has baked in. That’s the version most likely to actually be available in the frozen image.
- Open an issue on help.morph.io — this is clearly a platform-level bug, not something you can fix by guessing version numbers. The maintainers need to know.
What does your scraper actually require? If it’s fairly standard Python 3, the default version (whatever it is) might just work fine for your code even if you can’t control which exact version it is.
Here is my full list of tests (test combinations):
(the requirements.txt or code were never a matter, the issue stops before)
[main-python-2026 ac1290f] platform early_release runtime.txt python-3.14.3
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.14.3 specified in runtime.txt
[91m
[1;31m ! Error: The requested Python version isn’t recognised.[0m
[1;31m ! [0m
[0m [91m[1;31m ! The requested Python version 3.14 isn’t recognised.[0m
[1;31m ! [0m
[0m [91m[1;31m ! Check that this Python version has been officially released,[0m
[0m [91m[1;31m ! and that the Python buildpack has added support for it:[0m
[0m [91m[1;31m ! Status of Python versions[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[1;31m ! [0m
[0m [91m[1;31m ! If it has, make sure that you are using the latest version[0m
[1;31m ! of this buildpack:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[1;31m ! [0m
[1;31m ! Otherwise, switch to a supported version (such as Python 3.12)[0m
[0m [91m[1;31m ! by updating the version configured via the ‘runtime.txt’ file.[0m
[0m
[main-python-2026 ac1290f] Try platform early_release runtime.txt python-3.12.3
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.12.3 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.12.3 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 ac1290f] Try platform early_release runtime.txt python-3.12
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.12 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.12.7 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 bbe8dee] Try platform early_release runtime.txt python-3.12.12
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.12.12 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.12.12 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[1;31m ! For a list of the supported Python versions, see:[0m
[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 e48e26d] Try platform early_release runtime.txt python-3.13.8
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.13.8 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.13.8 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 89ff83c] Try platform early_release runtime.txt python-3.11
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.11 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.11.10 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[1;31m ! For a list of the supported Python versions, see:[0m
[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 13c360f] Try platform early_release runtime.txt python-3.11.15
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.11.15 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.11.15 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 45d0452] Try platform early_release runtime.txt python-3.11.9
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.11.9 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.11.9 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 6575f46] Try platform early_release runtime.txt python-3.11.5
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.11.5 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.11.5 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 96df948] Try platform early_release runtime.txt python-3.11.0
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.11.0 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.11.0 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 92ef743] Try platform early_release runtime.txt python-3.10.20
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.10.20 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.10.20 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 5689ecb] Try platform early_release runtime.txt python-3.12.0
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.12.0 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.12.0 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 eac2f79] Try platform early_release runtime.txt python-3.12.13
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.12.13 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.12.13 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 d8c5fa1] Try platform early_release runtime.txt python-3.13.0
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.13.0 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.13.0 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 fba77ee] Try platform early_release runtime.txt python-3.13.12
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.13.12 specified in runtime.txt
[91m
[0m [91m[1;31m ! Error: Python 3.13.12 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 eb65b25] Try platform early_release runtime.txt python-3.14.0
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.14.0 specified in runtime.txt
[91m
[0m [91m[1;31m ! Error: The requested Python version isn’t recognised.[0m
[1;31m ! [0m
[0m [91m[1;31m ! The requested Python version 3.14 isn’t recognised.[0m
[1;31m ! [0m
[0m [91m[1;31m ! Check that this Python version has been officially released,[0m
[0m [91m[1;31m ! and that the Python buildpack has added support for it:[0m
[0m [91m[1;31m ! Status of Python versions[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[1;31m ! [0m
[0m [91m[1;31m ! If it has, make sure that you are using the latest version[0m
[0m [91m[1;31m ! of this buildpack:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[1;31m ! [0m
[0m [91m[1;31m ! Otherwise, switch to a supported version (such as Python 3.12)[0m
[0m [91m[1;31m ! by updating the version configured via the ‘runtime.txt’ file.[0m
[0m
[main-python-2026 a625d1c] Try platform early_release runtime.txt python-3.14.3
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.14.3 specified in runtime.txt
[91m
[0m [91m[1;31m ! Error: The requested Python version isn’t recognised.[0m
[1;31m ! [0m
[0m [91m[1;31m ! The requested Python version 3.14 isn’t recognised.[0m
[1;31m ! [0m
[0m [91m[1;31m ! Check that this Python version has been officially released,[0m
[1;31m ! and that the Python buildpack has added support for it:[0m
[0m [91m[1;31m ! Status of Python versions[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[1;31m ! [0m
[0m [91m[1;31m ! If it has, make sure that you are using the latest version[0m
[1;31m ! of this buildpack:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[1;31m ! [0m
[0m [91m[1;31m ! Otherwise, switch to a supported version (such as Python 3.12)[0m
[0m [91m[1;31m ! by updating the version configured via the ‘runtime.txt’ file.[0m
[0m
[main-python-2026 9a26ae4] Try platform early_release runtime.txt python-3.13.4
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.13.4 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.13.4 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 6413887] Try platform early_release runtime.txt python-3.12.7
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.12.7 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.12.7 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 75c03a4] Try platform early_release runtime.txt python-3.11.10
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.11.10 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.11.10 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 a0e2466] Try platform early_release runtime.txt python-3.10.15
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.10.15 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.10.15 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 3ea7d72] Try platform early_release runtime.txt python-3.13.0
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.13.0 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.13.0 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 c257a0c] Try platform early_release runtime.txt python-3.6.2
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.6.2 specified in runtime.txt
[91m
[0m [91m[1;31m ! Error: The requested Python version has reached end-of-life.[0m
[1;31m ! [0m
[0m [91m[1;31m ! Python 3.6 has reached its upstream end-of-life, and is[0m
[0m [91m[1;31m ! therefore no longer receiving security updates:[0m
[0m [91m[1;31m ! Status of Python versions[0m
[0m [91m[1;31m ! [0m
[0m [91m[1;31m ! As such, it is no longer supported by this buildpack.[0m
[1;31m ! [0m
[0m [91m[1;31m ! Please upgrade to a newer Python version by updating the[0m
[0m [91m[1;31m ! version configured via the ‘runtime.txt’ file.[0m
[0m [91m[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m [91m
[0m
[main-python-2026 5562675] Try platform early_release runtime.txt python-3.6.3
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.6.3 specified in runtime.txt
[91m
[1;31m ! Error: The requested Python version has reached end-of-life.[0m
[1;31m ! [0m
[0m [91m[1;31m ! Python 3.6 has reached its upstream end-of-life, and is[0m
[1;31m ! therefore no longer receiving security updates:[0m
[0m [91m[1;31m ! Status of Python versions[0m
[1;31m ! [0m
[0m [91m[1;31m ! As such, it is no longer supported by this buildpack.[0m
[1;31m ! [0m
[0m [91m[1;31m ! Please upgrade to a newer Python version by updating the[0m
[0m [91m[1;31m ! version configured via the ‘runtime.txt’ file.[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 d1380ec] Try platform early_release runtime.txt python-3.6.15
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.6.15 specified in runtime.txt
[91m
[0m [91m[1;31m ! Error: The requested Python version has reached end-of-life.[0m
[1;31m ! [0m
[0m [91m[1;31m ! Python 3.6 has reached its upstream end-of-life, and is[0m
[1;31m ! therefore no longer receiving security updates:[0m
[0m [91m[1;31m ! Status of Python versions[0m
[1;31m ! [0m
[0m [91m[1;31m ! As such, it is no longer supported by this buildpack.[0m
[1;31m ! [0m
[0m [91m[1;31m ! Please upgrade to a newer Python version by updating the[0m
[1;31m ! version configured via the ‘runtime.txt’ file.[0m
[0m [91m[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 eb5069f] Try platform early_release runtime.txt python-3.7.17
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.7.17 specified in runtime.txt
[91m
[1;31m ! Error: The requested Python version has reached end-of-life.[0m
[1;31m ! [0m
[0m [91m[1;31m ! Python 3.7 has reached its upstream end-of-life, and is[0m
[1;31m ! therefore no longer receiving security updates:[0m
[0m [91m[1;31m ! Status of Python versions[0m
[1;31m ! [0m
[0m [91m[1;31m ! As such, it is no longer supported by this buildpack.[0m
[1;31m ! [0m
[1;31m ! Please upgrade to a newer Python version by updating the[0m
[0m [91m[1;31m ! version configured via the ‘runtime.txt’ file.[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 1e94b8b] Try platform early_release runtime.txt python-3.8.20
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.8.20 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.8.20 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 7d43457] Try platform early_release runtime.txt python-3.8.15
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.8.15 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.8.15 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[1;31m ! For a list of the supported Python versions, see:[0m
[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 e64a914] Try platform early_release runtime.txt python-3.8.0
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.8.0 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.8.0 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[1;31m ! For a list of the supported Python versions, see:[0m
[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 821b408] Try platform early_release runtime.txt python-3.9.0
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 3.9.0 specified in runtime.txt
[91m
[1;31m ! Error: Python 3.9.0 isn’t available for this stack (heroku-24).[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[0m [91m[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 5563230] Try platform heroku-18 runtime.txt python-3.13.0
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python version specified in runtime.txt
[1G ! Requested runtime (python-3.13.0) is not available for this stack (heroku-18).
[1G ! Aborting. More info: Heroku Python Support Reference | Heroku Dev Center
[main-python-2026 cb6a7ad] Try platform heroku-18 runtime.txt python-3.7.3
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python version specified in runtime.txt
[1G ! Requested runtime (python-3.7.3) is not available for this stack (heroku-18).
[1G ! Aborting. More info: Heroku Python Support Reference | Heroku Dev Center
[main-python-2026 83b49a4] Try platform heroku-18 runtime.txt python-3.6.8
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python version specified in runtime.txt
[1G ! Requested runtime (python-3.6.8) is not available for this stack (heroku-18).
[1G ! Aborting. More info: Heroku Python Support Reference | Heroku Dev Center
[main-python-2026 f6a53e2] Try platform heroku-18 runtime.txt python-2.7.16
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python version specified in runtime.txt
[1G ! Requested runtime (python-2.7.16) is not available for this stack (heroku-18).
[1G ! Aborting. More info: Heroku Python Support Reference | Heroku Dev Center
[main-python-2026 bfef073] Try without runtime.txt
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python version specified in runtime.txt
[1G ! Requested runtime (python-2.7.6) is not available for this stack (heroku-18).
[1G ! Aborting. More info: Heroku Python Support Reference | Heroku Dev Center
[main-python-2026 93ca287] Try platform early_release runtime.txt (deleted)
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python 2.7.6 specified in runtime.txt
[91m
[0m [91m[1;31m ! Error: The requested Python version has reached end-of-life.[0m
[1;31m ! [0m
[0m [91m[1;31m ! Python 2.7 has reached its upstream end-of-life, and is[0m
[0m [91m[1;31m ! therefore no longer receiving security updates:[0m
[0m [91m[1;31m ! Status of Python versions[0m
[1;31m ! [0m
[0m [91m[1;31m ! As such, it is no longer supported by this buildpack.[0m
[1;31m ! [0m
[0m [91m[1;31m ! Please upgrade to a newer Python version by updating the[0m
[0m [91m[1;31m ! version configured via the ‘runtime.txt’ file.[0m
[1;31m ! [0m
[0m [91m[1;31m ! For a list of the supported Python versions, see:[0m
[1;31m ! Heroku Python Support Reference | Heroku Dev Center[0m
[0m
[main-python-2026 f5963a3] Try platform heroku-18 runtime.txt (deleted)
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Using Python version specified in runtime.txt
[1G ! Requested runtime (python-2.7.6) is not available for this stack (heroku-18).
[1G ! Aborting. More info: Heroku Python Support Reference | Heroku Dev Center
[main-python-2026 b0fd7f8] Try platform cedar-14 runtime.txt (deleted)
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G ! The latest version of Python 2 is python-2.7.14 (you are using python-2.7.6, which is unsupported).
[1G ! We recommend upgrading by specifying the latest version (python-2.7.14).
[1G Learn More: Specifying a Python Version | Heroku Dev Center
[1G-----> Installing python-2.7.6
[1G ! Requested runtime (python-2.7.6) is not available for this stack (cedar-14).
[1G ! Aborting. More info: Heroku Python Support Reference | Heroku Dev Center
[main-python-2026 fb051d6] Try platform cedar-14 runtime.txt python-3.6.2
Injecting configuration and compiling…
[1G [1G-----> Python app detected
[1G-----> Installing python-3.6.2
[1G ! Requested runtime (python-3.6.2) is not available for this stack (cedar-14).
[1G ! Aborting. More info: Heroku Python Support Reference | Heroku Dev Center