We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2020-01-21 12:34:12 +0200

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 working. A dirty workaround I have is copy them to

qml/pages

in project.

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 working. work. A dirty workaround I have is copy them to

qml/pages

in project.

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.