Hi :wave: Anyone had success with running Prefect...
# ask-community
y
Hi 👋 Anyone had success with running Prefect with uv (https://docs.astral.sh/uv/)? I'm running a python file using
uv run jobs/test_flow/test_flow.py
and getting the error
Unknown setting 'PREFECT_SERVER_ALLOW_EPHEMERAL_MODE'
. It fails just by importing from prefect, not even calling any function. I'm using prefect==2.19.9. Attaching screenshots of the test_flow.py and the error. Any help would be much appriciated.
j
Hey, I don't believe that
PREFECT_SERVER_ALLOW_EPHEMERAL_MODE
is a
2.x
setting. I think it's only from prefect versions that are
>3.x.
You may need to delete that from your profile (normally under
~/.prefect/profiles
) to use
2.x
y
@Jake Kaplan Thanks. I'll try that.