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

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 31 18:04:05 UTC 2021


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

            Bug ID: 144224
           Summary: Create a setup dialog to choose which Python
                    interpreter to use
           Product: LibreOffice
           Version: 7.3.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: rafael.palma.lima at gmail.com

LibreOffice comes with a bundled Python that has a limited set of packages and
it is not possible to install additional packages as numpy, pandas or other
popular packages (see 143980 and 143867).

One not-so-complicated way to solve this issue would be to create a new dialog
in "Tools - Options" so the user can choose which Python interpreter to use.
This way the user can install another Python interpreter and add whatever
packages he/she needs.

The idea would be to create a new dialog similar to the one we currently have
for JRE in Tools - Options - Advanced. The user could then select the base path
for the python interpreter that will be used by LO. By default it can be the
one bundled in LO's installation, but advanced users will be able to choose a
different one and set it up as they wish.

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).

-- 
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/20210831/0cdbf404/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list