Hello, more a python issue but encountered when tr...
# ask-community
f
Hello, more a python issue but encountered when trying to execute this tuto. I have a project structures that looks like the attached image. This structure is the same as @Anna Geller github repo for the tuto. In her flow codes, she imports functions from a
config.py
file in
flow_utilities
folder like this
from flow_utilities.config import funcA funcB
. When i do so, i get an error. So i tried to reproduced it with the dummy code you have on the image. I get the same error which is
ModuleNotFoundError: No module named 'flow_utilities'
. This really seems stupid to me as it is just importing some func from local file but somehow i can't make it work with this file architecture. What am i doing wrong ?
1
a
this repo has a setup.py file
if you do:
pip install .
the error should be gone
f
damn it was so simple... Guess i'll have to ge back to my basics... thanks
a
no worries, glad it's solved now 👍