Hi folks, just installed prefect. And it seems lik...
# ask-community
k
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
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
Probably right, it's 3.1.6
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
Ok seems to solve the issue with version 2.20.15. Thanks
👍 1