Hey all, I successfully deployed an actor on Apify yesterday and followed all the same steps to deploy my next actor but now the Apify CLI can not detect python anymore when I run “apify run” which is crazy because it has to detect it in order to build the actor in the first place,
This is output in my terminal which shows that it can’t detect python but that I can find the version no problem:
PS C:\Users\Ken\New PATH py\testing-it> apify run --purge
Info: All default local stores were purged.
Error: No Python detected! Please install Python 3.9 or higher to be able to run Python Actors locally.
PS C:\Users\Ken\New PATH py\testing-it> python --version
Python 3.13.2
Here’s my pyenv.cfg:
home = C:\Program Files\Python313
include-system-site-packages = false
version = 3.13.2
prompt = ‘testing-it’
executable = C:\Program Files\Python313\python.exe
command = C:\Program Files\Python313\python.exe -m venv --prompt=“.” C:\Users\Ken\New PATH py\testing-it.venv
This is from my CMD:
C:\Users\Ken>where python
C:\Program Files\Python313\python.exe
I have added the correct PATHs in my environment variables, uninstalled and reinstalled python, started new apify builds, restarted my computer, and deactivated the Microsoft App Aliases.
I simply can not figure this out, I’ve searched every thread and done anything suggested that seemed relevant to my situation but nothing has any effect.