"apify run" no longer able to detect python
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.
The best I can figure is somewhere in the code something is pointing the apify run to somewhere different then C:\Program Files\Python313\python.exe because that is where it is and where it has clearly been found by the apify CLI.
Has this ever happened to anyone else?
