Hi folks,
just installed prefect.
And it seems like the infrastructure module is empty.
Copy code
from prefect.infrastructure.process import Process
ModulleNotFoundError: No module found "prefect.infrastructure.process"
Has this been moved somewhere else?
I don't know anything about prefect other than its a requirement for some code I'm trying to run.
Any help appreciated!
n
Nate
12/13/2024, 1:46 PM
hi @kirk - my guess is that you unintentionally upgraded, since the infrastructure module is only present in the 2.x versions of prefect. what version of prefect do you have?
k
kirk
12/13/2024, 1:50 PM
Probably right, it's 3.1.6
kirk
12/13/2024, 1:57 PM
Ok, just tested with version 2.20.9
And now I'm getting another not found module error
from prefect.exceptions import ObjectNotFound
No module named prefect.exceptions
kirk
12/13/2024, 2:05 PM
Ok seems to solve the issue with version 2.20.15. Thanks
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.