05-21-2025 06:05 PM
I am trying to get LibreOffice working with LabVIEW from:
LabVIEW 2025 Q1 32 bit
LibreOffice Calc 25.2.3 32 bit which also installs Python 3.10.17 32 bit
So my bitness is correct!
Python works:
using their project and running test.vi (following their instructions) I get error 1761
forum posts say it could be the environmental variables:
PYTHONPATH
C:\Program Files (x86)\LibreOffice\program
C:\Program Files (x86)\LibreOffice\program\python-core-3.10.17\lib
URE_BOOTSTRAP
vnd.sun.star.pathname:C:/Program Files (x86)/LibreOffice/program/fundamental.ini
I narrowed it down to the 'open python session.vi' but even if I connect the correct python version, 3.1 and path directly it still has the same error
has anyone tried this and copy me their environmental variable for comparison. Otherwise I assume it's not compatible with W11 😫
Solved! Go to Solution.
05-21-2025 06:28 PM - edited 05-21-2025 06:29 PM
Tested on W10 Pro and working perfectly...
LabVIEW 20.0
environment variables are the same etc.
Any ideas what I need to look at on W11 to get it working?
05-21-2025 07:00 PM
got it working with W11 - hope this helps with anyone else having problems!
In 'lvoo generate spreadsheet.vi' I explicitly added the python.exe path for 'open python session'
so I assume W11 handles environment variables subtly differently??