Jason04/20/2022, 2:55 PM
from both Python and Jupyter Notebook:
But when I run the same import from Prefect, I get the following error:
from projects.example.flows.hello_world from projects import Config
pipenv run prefect run -m projects.example.flows.hello_world No module named 'projects'
Jason04/20/2022, 3:02 PM
. It's just weird because usually I don't need to bother with a setup.py. As long as the directory is modularized with an init.py I can usually import.
ModuleNotFoundError: No module named 'projects'
might be different. You do need the
to get that working. You know how to do that?
Jason04/20/2022, 3:03 PM