[Libreoffice-bugs] [Bug 144224] Create a setup dialog to choose which Python interpreter to use

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Sep 2 15:04:21 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=144224

Stephan Bergmann <sbergman at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sbergman at redhat.com

--- Comment #6 from Stephan Bergmann <sbergman at redhat.com> ---
(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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210902/013901e2/attachment.htm>


More information about the Libreoffice-bugs mailing list