Does prefect work with Windows? I'm in the PACC course and ran prefect server start and it threw me this error:
Copy code
>> prefect server start
___ ___ ___ ___ ___ ___ _____
| _ \ _ \ __| __| __/ __|_ _|
| _/ / _|| _|| _| (__ | |
|_| |_|_\___|_| |___\___| |_|
Configure Prefect to communicate with the server with:
prefect config set PREFECT_API_URL=<http://127.0.0.1:4200/api>
View the API reference documentation at <http://127.0.0.1:4200/docs>
Check out the dashboard at <http://127.0.0.1:4200>
'c:\users\ykhan\onedrive' is not recognized as an internal or external command,
operable program or batch file.
Server stopped!
Which is also the same error I get when I try to run a worker locally and try have it pick up flows
✅ 1
j
Jeff Hale
07/17/2023, 6:47 PM
We’ll jump in your room to help - but please post in the course channel for faster response times 🙂
y
YSF
07/17/2023, 6:53 PM
Oh sorry I posted here because I've gotten this issue with other cli commands in windows
j
Jeff Hale
07/17/2023, 6:54 PM
No sweat. Did you get it working?
y
YSF
07/17/2023, 6:57 PM
I didn't no. Not sure where it's seeing that as a command to execute tbh. I'm running prefect cli from inside a venv. My working directory does look like this:
C:\Users\ykhan\OneDrive - Genesis Air Mobility\Documents\Projects\PrefectFlows\PACC
not sure if the space is throwing it off
YSF
07/17/2023, 6:58 PM
The onedrive thing is a sync point, so it is all locally stored there, it's just everything under it gets synced periodically
j
Jeff Hale
07/17/2023, 7:02 PM
Ah - I’ve seen something about this in Slack, I think. Spaces could be the issue.
y
YSF
07/17/2023, 7:08 PM
hmm, I won't usually have control over the file system and path naming on the machines I want to run workers on so is there a workaround do you know? Or is there an issue raised. I'm not specifically setting anything in here about my working directory it just happens to be where my flow lives.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.