Apify cli can't find python

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
2 Replies
Hall
Hall4mo ago
Someone will reply to you shortly. In the meantime, this might help:
conscious-sapphire
conscious-sapphire3mo ago
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

Did you find this page helpful?