When I run my Python 3 project, I always get error:
ImportError: No module named 'database'
I have an empty __init__.py
file in the database folder.
I am able to make it work if I run:
export PYTHONPATH="$PYTHONPATH:/youpath/myProject"
However, when I restart the system (Ubuntu), I get the same error again. How can I make it work in a permanent way?