https://prefect.io logo
#prefect-community
Title
# prefect-community
b

Benjamin.bgx

07/27/2022, 1:10 PM
Anyone have seen an error lile :
FileNotFoundError: [Errno 2] No such file or directory: 'python'
when running a flow on an agent from prefect cloud 2 ?
t

Taylor Curran

07/27/2022, 1:29 PM
Hi Benjamin 🙂 Where did you start the agent? Is python installed in the environment where the agent is running?
b

Benjamin.bgx

07/27/2022, 1:51 PM
Well, I installed Python and Prefect on Linux WSL and my Azure VM, to test on both env. It was working yesterday. But no more today since I upgrade to Prefect version 2.0b15.
Copy code
prefect version           
Version:             2.0b15
API version:         0.8.0
Python version:      3.8.10
Git commit:          7237b0cb
Built:               Tue, Jul 26, 2022 4:05 PM
OS/Arch:             linux/x86_64
Profile:             default
Server type:         hosted
I was wondering if the problem is my python version...
a

Anna Geller

07/27/2022, 4:19 PM