Hi, I just installed prefect using `pip install pr...
# ask-community
r
Hi, I just installed prefect using
pip install prefect
but when I run
prefect
I get
Copy code
ImportError: cannot import name 'start_blocking_portal' from 'anyio' (/usr/local/lib/python3.10/site-packages/anyio/__init__.py)
I tried py3.10, 3.11 and running on my system (ubuntu 20) as well as using docker container.
1
j
Hi anyio just released a breaking change which prefect doesn't have pinned back. https://prefect-community.slack.com/archives/CL09KU1K7/p1693439546653409 prefect will have this fixed in the latest release later today. Before then though you can install anyio < 4.0.0 and this should be fixed
r
Thank you