Where is LO's own python interpreter on linux?

I’m trying to connect an IDE (like Geany, Thonny, PyCharm) to LibreOffice so i can open an odt in LO, create a python macro inside the odt file with APSO, modify it within my IDE and have an interpreter and a debug environment.

Every tutorial refers to a libreoffice own python interpreter but i can’t seem to find it. Where is it?
Libreoffice 7.1, fedora 34, python 3.9

find <libreofficeinstalldir>/program -name "*python*" and tell us where you get LibreOffice from (Fedora, TDF, elsewhere … on TDF packaging it is part of libobasis7.1-pyuno-7.1.2.2-2.x86_64).

libreoffice from fedora. That find command returns many results, should i look for something in particular? besides, Lo python macros are working fine.

APSO know the interpreter running itself, all you need:

Extras > Extensionmanager > select APSO > Options and choose the path to your Editor, for Example: /usr/bin/geany

edit: AFAIK Fedora-Libreoffice link to there OS-python-environment.

TDF releases just bundle an own Python version (as program/python and program/python.bin) , because PyUNO has a C++ component, which must be linked to Python C interfaces. These change between minor versions (there are quite a few

#if PY_VERSION_HEX >= ...

in the LibreOffice source (as pyuno/source/**) with various 0x03080000, 0x03090000 and 0x03040000 tests).

But Linux distros normally have a main Python version, so they compile PyUNO against that, and LO doesn’t have to provide its own one.

ok, got it, so on linux there’s no need to follow those guides that say u have to set the python path. Thank you