Hi all,
It seems that starting with LibreOffice for Linux version 24.2, Python is shipped with LibreOffice.
- LibreOffice for Linux 24.2 offers Python 3.8.
- LibreOffice for Linux 24.8 offers Python 3.9.
If I go into the program folder of LibreOffice 24.8 for Linux and launch the Python interpreter (ie: ./python), I have:
prrvchr@Asus-E510:/opt/libreoffice24.8/program$ ./python
Python 3.9.21 (main, Dec 12 2024, 22:55:18)
[GCC 12.2.1 20221121 (Red Hat 12.2.1-7)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
If I use the distutils package to know the value of the variable EXT_SUFFIX, I have:
>>> import distutils.sysconfig as ds
>>> print(ds.get_config_var("EXT_SUFFIX"))
.cpython-3.9.so
>>>
Normally, at least for my local version of Python, the value of EXT_SUFFIX should be:
.cpython-39-x86_64-linux-gnu.so
So this is not a big deal but it is causing me a lot of problems.
Can someone explain it to me? Thanks.