Python import additional modules
How to import additional modules on MacOS? Globally installed modules with
pip install module_name
won't be found. Copying them to
SailfishOS/bin/python/lib/python2.7
also doesn't work. A dirty workaround I have is copy them to
qml/pages
in the project.
Regarding issues generated by sauvage "pip install" commands on CentOS, I recommend tu use sailfish packet manager for python module if they're available in the repository :)
TNZ ( 2020-01-21 15:27:43 +0200 )edit