If I have modules in my SP-plugin that use mypackage then, SP tells me when loading the plugin 'ModuleNotFoundError: No module named 'mypackage' .
If in python, entering this:
Syntax: Select all
import sys
for line in sys.path: print(line)
it says that
/home/user1/.local/lib/python3.5/site-packages
is there. So python kinda knows where to look for my site-packages. Yet i don't know how to tell SP to look for packages in /home/user1/.local/lib/python3.5/site-packages
Copying mypackage to /addons/source-python/packages/site-packages/ gives my another bunch of errors (that are probably on my side only). But is there any other way? Like automatically adding packages installed via pip to SP ? Or is SP designed to NOT include packages installed via pip ?