https://prefect.io logo
o

Oscar Montanes

08/30/2023, 10:51 PM
Hi i am receiving this error when i am running prefect on my mac, any ideas?
Copy code
Traceback (most recent call last):
 File "/Library/Frameworks/Python.framework/Versions/3.10/bin/prefect", line 5, in <module>
  from prefect.cli import app
 File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/prefect/_init_.py", line 45, in <module>
  from prefect.engine import pause_flow_run, resume_flow_run
 File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/prefect/engine.py", line 98, in <module>
  from anyio import start_blocking_portal
ImportError: cannot import name 'start_blocking_portal' from 'anyio' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/anyio/_init_.py)
i

Ilya Galperin

08/30/2023, 11:49 PM
We’re seeing the same issue as of about 50 minutes ago when trying to log into Prefect Cloud via CLI running 2.10.12.
n

Nate

08/30/2023, 11:51 PM
hi @Ilya Galperin - yep! unfortunately anyio 4 has some breaking changes - working through it now
you can pin to anyio < 4 until we roll a fix
👍 1
i

Ilya Galperin

08/30/2023, 11:59 PM
Thanks Nate - we will do so for now while we wait for a fix.