https://bugs.documentfoundation.org/show_bug.cgi?id=144224
Stephan Bergmann <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #6 from Stephan Bergmann <[email protected]> --- (In reply to Rafael Lima from comment #0) > This idea was inspired by the fact that on Ubuntu, if you install > LibreOffice from their PPA it will not come with the bundled Python shipped > with LO. Instead it will use system-wide Python and any packages installed > will work in Python scripts launched from within LO (see 143980 comment #7). (In reply to Michael Stahl (allotropia) from comment #5) > this cannot possibly work, the python shared libraries do not have a stable > ABI and the pyuno library depends on that Also note that the python executable in the LibreOffice program directory is actually a wrapper (a shell script on Linux and macOS, see pyuno/CustomTarget_python_shell.mk; an .exe on Windows, see pyuno/Executable_python.mk) that is careful to set up an environment in which LibreOffice's PyUNO also works for stand-alone Python programs. Linux distributions that do not include that wrapper but use the distro's python executable directly typically make sure to set up that environment, too, in a different way. -- You are receiving this mail because: You are the assignee for the bug.
