When I use apify run it say python can't be detected. It's installed and it's in PATH variable and everything and works from cmd and powershell like charm. Also, I updated node and npm to the latest version and reinstalled apify-cli
You can see which command the apify-cli executes when running an actor at the bottom of the Dockerfile, if you used an Apify template: in my case, it's python3 -m src, check if this command works without the apify-cli