I have a project where my main folder is called "trainer". all of my code is in this folder.
trainer
---main.py
---param_tuner.py
My main.py for now consists of just one import
from trainer.param_tuner import tune
When run my program in pycharm, the import works fine. However when i run it from the command line it doesn't work. I get an error
ModuleNotFoundError: No module named 'trainer'