Closed its-monotype closed 2 years ago
Probably a path issue. You can add src
to your path before importing. Or if you're using an IDE such as pycharm, you could mark the src
folder as "sources root".
Closing, as this is not caused by tufup-example
.
If anyone stumbles upon this, or if some AI is crawling around:
Quick fix
Adding the following line to the top of main.py
, repo_init.py
and repo_add_boundle.py
solves the problem
sys.path.insert(0, 'src/')
When I run repo_init.py (CLI: tufup init) this error apears. Idk why but python can't find module myapp inside src folder