Hi, installed Prefect fine.. when importing prefect in code.. i am getting the following error.. ImportError: cannot import name 'flow' from partially initialized module 'prefect' (most likely due to a circular import)
👀 1
b
Bianca Hoch
03/12/2024, 3:47 PM
Hi Anil! Are you using a fresh virtual environment for your prefect installation?
a
Anil
03/12/2024, 3:50 PM
yes
Anil
03/12/2024, 3:51 PM
(venv) anil@Anils-MBP Python % prefect version
Version: 2.16.3
API version: 0.8.4
Python version: 3.12.2
Git commit: e3f02c00
Built: Thu, Mar 7, 2024 4:56 PM
OS/Arch: darwin/arm64
Profile: default
Server type: cloud