Imports not found when running script outside of Pycharm?
问题 I have a project structured this way... main.py imports scripts from subfolders like so: from controllers.available_balances_controller import available_balances_controller Subfolders: models views controllers When running main.py in Pycharm it works find. When I try to run in terminal I get import errors: Traceback (most recent call last): File "main.py", line 6, in <module> from controllers.available_balances_controller import available_balances_controller ImportError: No module named