I have a project that I imported. It has structure of:
my_package
|
_ my_package
| _
operators
|_
myoperator.py (that contains MyOperator class)
imports in code of that project are shown as:
from my_package.operators.myoperator import MyOperator
However for some reason that I don't understand none of the imports are working for me. In order to make them work I need to add my_package as:
from my_package.my_package.operators.myoperator import MyOperator
This is something that I probably didn't configure correctly. How can I make the virtual env recognise the imports as they are? This is probably something with search paths of the virtual environment?