(.venv) kfike@pop-os:~/Projects/sage$ python3 -m sage
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/kfike/Projects/sage/sage/__main__.py", line 3, in <module>
from email_parser import email_parser
ModuleNotFoundError: No module named 'email_parser'
Solution
Add the parent package to each import, other than the ENV import.
For example, make from db import transactions this instead from sage.db import transactions
Problem
Solution
Add the parent package to each import, other than the
ENV
import. For example, makefrom db import transactions
this insteadfrom sage.db import transactions