Is it possible nowadays import numpy and scipy to run python scripts in LibreOffice?

I’m doing compilation of static libraries and invoking them by ctypes to run some math routines in python scripts for LibreOffice.

Is possible today to use system python or a local install with packages pulled from pip?

Actually using system python is default on several installations on linux. You can’t do this on windows, as there is no system python. LibreOffice in container/snap etc may also cause trouble…
.
But a system or installed python could communicate with LibreOffice via socket, and this should also work with Windows…

1 Like

You’re right. I just verified here. But I’m pretty sure LO used some embedded python before or that was the case for .deb’s from their website 'cause otherwise I woudn’t use external libraries. I’m not in Windows and flatpaks are not my default apps.