I've got a project tree like this:
../simple_top/
└── simple
    ├── __init__.py
    └── src
        ├── a.py
        ├── b.py
        └── __init__.py
a.py contains single function:
def a():pass
b.py tries to import that function:
from simple.src.a import a
When I try to run b.py from simple_top directory, I see the folowing error:
python3 simple/src/b.py 
Traceback (most recent call last):
  File "simple/src/b.py", line 1, in <module>
    from simple.src.a import a
ImportError: No module named 'simple'
Surprisingly, when I try to run the code from inside Pycharm environment (the working directory is set to simple_top), everything works fine. So why doesn't it run in the terminal? How to make it run in the terminal? It seems I'm missing something...
