https://prefect.io logo
b

Balázs Aszódi

08/22/2022, 4:26 PM
Hi all, I am trying to run a deployment locally on my M1 Mac. However, I am continuously getting FileNotFoundError: [Errno 2] No such file or directory error. I tried to look around for a solution in the channels and discourses but I haven’t found the same problem just some similar ones. I am trying to run with the prefect cli and I am in my flows folder.
Copy code
prefect deployment build mssql_dbx_flow.py:dbx_trigger_sync_flow -n airbyte-prefect-dbx-elt -t testing
I have created an agent already and I’m using prefect 2.1.1. I’ve attached my orion settings, as well. Could you advise me on what am I missing?
c

Clint M

08/22/2022, 4:39 PM
does it give you have the full trace?
b

Balázs Aszódi

08/22/2022, 4:41 PM
What do you mean by that?
c

Clint M

08/22/2022, 4:43 PM
sorry I was wondering if it output’s the full back trace from python
👍 1
just clear your terminal window and then run the command again and send the full output from the terminal
👍 1
b

Balázs Aszódi

08/22/2022, 4:47 PM
FileNotFoundError_MacM1_local.txt
c

Clint M

08/22/2022, 4:49 PM
what’s the output when your run
ls -lah /Users/balazsaszodi/Documents/Work/Projects/PAO/airbyte_prefect_integration/dbx_prefect_airbyte/flows
I ask because it’s looking in that dir for a file called
mssql_dbx_flow.py
which doesn’t seem to exist
b

Balázs Aszódi

08/22/2022, 4:52 PM
it is in it, just a typo…. instead mssql there is msslq Omg. 😄 That’s why somebody else is needed to double-check it. Thank you for your help and time!
👍 2