https://prefect.io logo
Title
l

Liran Cohen

02/27/2022, 1:53 PM
Hi all, I'm trying to learn Prefect, and I get an error after installation via pip. when I run import prefect I get:
ModuleNotFoundError: No module named 'prefect'
the package seems to be installed cause when I do pip show prefect I get:
Name: prefect
Version: 1.0.0
Summary: The Prefect Core automation and scheduling engine.
I checked few times and the environment where I try to import is the same where I run pip show any suggestions on why that might happen? thanks
a

Anna Geller

02/27/2022, 5:00 PM
Maybe you can try to install it in a virtual environment? Do you happen to run it on Ubuntu with sudo?