Hi, I just installed prefect on windows 10 and as ...
# prefect-server
Hi, I just installed prefect on windows 10 and as I was trying
prefect server start
the first time, received this error. Any idea how to troubleshoot this?
Copy code
PS C:\Users\puruz\Documents\prefect> prefect server start
Exception caught; killing services (press ctrl-C to force)
Traceback (most recent call last):
  File "C:\Users\puruz\AppData\Roaming\Python\Python39\site-packages\prefect\cli\server.py", line 331, in start
  File "c:\program files\python39\lib\subprocess.py", line 368, in check_call
    retcode = call(*popenargs, **kwargs)
  File "c:\program files\python39\lib\subprocess.py", line 349, in call
    with Popen(*popenargs, **kwargs) as p:
  File "c:\program files\python39\lib\subprocess.py", line 947, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "c:\program files\python39\lib\subprocess.py", line 1416, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
Hey @Jasono, Just checking, do you have Docker and Docker-compose installed? We'll need these to start up Prefect Server with the CLI.
Just read that from the doc site. No, let me install it first. thanks.
👍 1
The server worked and I see it in the browser. How do I run my flow so the server knows about it? Right now, I run
python project_name.py
on a command line, and it doesn't seem to register with the server.
Sorry I can't seem to find this info on the doc site.
No problem, I'd recommend going through this tutorial once you have Prefect Server running (you can probably skip to this part as long as you
prefect backend server
) - it goes through the process of registering a flow and running an agent. Just be conscientious of when there's a CLOUD badge, as that will be scoped to using Prefect Cloud.
Thank you!!
👍 1