[Libreoffice-bugs] [Bug 129754] macOS built in Python can't import uno
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Jan 8 08:36:45 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=129754
Alex Thurgood <iplaw67 at tuta.io> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEEDINFO
--- Comment #2 from Alex Thurgood <iplaw67 at tuta.io> ---
For example, take the script TableSample.py provided in the Scripts directory :
/Applications/LibreOffice.app/Contents/Resources/Scripts/python/pythonSamples/TableSample.py
This script runs just fine for me when LO is already launched.
The first uncommented line in that script is "import uno".
If you want to use LO python from a script stored outside of Scripts folder of
the app bundle, then things are going to get complicated as you will need to
differentiate between the local python installation on your Mac, and the python
environment within LO.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200108/62bb0ee9/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list