https://prefect.io logo
Title
j

Jimmy Le

08/18/2022, 5:42 PM
Ran into this bug earlier. The UI tells me to use the flag
--work-queue
but the CLI says no such option exists. Removing the
--work-queue
flagged resolved the issue.
o

Oscar Björhn

08/18/2022, 5:44 PM
Did you upgrade to 2.1.1 or are you still on an earlier version? I'm starting my agents with --work-queue now.
👍 1
j

Jeff Hale

08/18/2022, 5:45 PM
What version of prefect are you using?
--work-queue
flag seems to work okay for me on 2.1.1
😅 1
j

Jimmy Le

08/18/2022, 5:45 PM
Ah I see I ran prefect-aws -U and it left me on 2.0.4
j

Jeff Hale

08/18/2022, 5:47 PM
Gotcha. Do a
pip install  -U prefect
to upgrade the core library. prefect-aws is the collection that gives some extra AWS-related block functionality.
a

Anna Geller

08/18/2022, 6:10 PM
if you install/upgrade Prefect first, and then you install a collection, Collection won't enforce any specific version
👍 1