My site name is flamboyant-northcutt-4eefaf and sometimes when I push to git or trigger a deploy in the UI, my deployment fails because python cannot be found. However, sometimes it can be found, even when there are no code changes on my side. This has been happening for me for a few weeks.
You can checkout this screenshot: https://user-images.githubusercontent.com/179/228192933-36d5f88d-ffba-4e65-97ba-35c1da0dfbcb.png
The are no code differences between the failed deploy where
python: command not found and the successful one, HEAD is cee2… I pushed and it failed, then I re-triggered the deploy twice in the UI, and it failed one time with
python: command not found and then the second time it had python and succeeded.
I’ve tried to add a runtime.txt and I’ve added an ENV var for PYTHON_VERSION, but they don’t seem to affect whether python can be found or not. I’m not sure how to convince the netlify build system to include python all the time.
Does anyone have any tips or ideas?