[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
Wed Sep 1 13:03:50 UTC 2021


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

--- Comment #4 from flywire <flywire0 at gmail.com> ---
(In reply to Rafael Lima from comment #0)
> 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).

*WRONG* - see
https://ask.libreoffice.org/t/install-python-package-for-libre-office/66934/15
- Installs scipy and numpy.

The big issue is Python needs pip to install packages but it is not implemented
in LO and the community is fairly clueless how to install it - see Bug #143867

Clearly the community has little idea how to do it -
https://ask.libreoffice.org/t/install-python-package-for-libre-office/66934
Even there the dll is missing. Someone muddling through the process and
installing pip and packages doesn't mean everything is fine.

A better solution is better support of the existing embedded Python, including
pip.

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

Each version of LO has a known embedded version of Python, a big advantage.
That's not the case with a user's system python. I wouldn't support this
configuration to replace the standard install.

Installing embedded LO python in a Virtual Environment is well worth
considering.

-- 
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/20210901/974e60cd/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list