Description: With LibreOffice 24.8.x and 25.2.x when launching a Python component the following warnings are displayed: > Could not find platform independent libraries <prefix> > Could not find platform dependent libraries <exec_prefix> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Steps to Reproduce: 1. On LibreOffice on Linux launched from a terminal start a Python component 2. You will see the error message on the console: > Could not find platform independent libraries <prefix> > Could not find platform dependent libraries <exec_prefix> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Actual Results: Error message on the console. Expected Results: No error message on the console. Reproducible: Always User Profile Reset: No Additional Info: On Linux LibreOffice 24.2.x don't give any warning when launching a Python component and the value of sys.prefix is: /opt/libreoffice24.2/program/../program/python-core-3.8.20 On Linux LibreOffice 24.8.x and 25.2.x give warning when launching a Python component and the value of sys.prefix is: /python-inst
Only LibreOffice 24.8.x give warning. On Linux LibreOffice 25.2.x don't give any warning when launching a Python component and the value of sys.prefix is: /usr