MrGemy95/Tensorflow-Project-Template

how to make import works

zhedongzheng opened this issue · 1 comments

Hi, I have tried running example.py
but the error is

Traceback (most recent call last):
  File "example.py", line 3, in <module>
    from data_loader.data_generator import DataGenerator
ModuleNotFoundError: No module named 'data_loader'

How do you guys make the sibling package imports work? Are you using IDE to help you do that?

There is a stackoverflow about this, so this can be solved on our own.