Closed jlowin closed 1 week ago
@jlowin This is not resolved. I am still getting this issue on the windows:
File "C:\Users\abida\anaconda3\Lib\site-packages\prefect\server\api\server.py", line 822, in _run_uvicorn_command
return subprocess.Popen(
^^^^^^^^^^^^^^^^^
File "C:\Users\abida\anaconda3\Lib\subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\abida\anaconda3\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
It can only be resolved by running the server manually and setting the environment variable.
@kingabzpro the fix for this issue hasn't been released yet, but it will be released tomorrow! If you'd like the fix sooner, you can install prefect
from main
with pip install git+https://github.com/PrefectHQ/prefect.git@main#egg=prefect
.
Bug summary
Received the following report from @kingabzpro -- it looks like the ephemeral server failing to start with an error that looks like it isn't uncommon in windows when
shell=True
isn't passed? I'm not entirely sure: https://github.com/PrefectHQ/ControlFlow/issues/315Version info (
prefect version
output)Additional context
Copied from cross issue: