Hello, is there a way to prevent the application from crashing if the PythonQt::init() function call fails due to an incorrect Python configuration? In my application the user can set the PYTHONHOME and PYTHONPATH path to an individual Python environment. If the chosen path does not lead to a Python environment or does not exist at all, the application crashes with the following error: Fatal Python error: initfsencoding: unable to load the file system codec Fatal Python error: unable to load the...
Hello, is there a way to prevent the application from crashing if the PythonQt::init() function call fails due to an incorrect Python configuration? In my application the user can set the PYTHONHOME and PYTHOnPATH path to an individual Python environment. If the chosen path does not lead to a Python environment or does not exist at all, the application crashes with the following error: Fatal Python error: initfsencoding: unable to load the file system codec Fatal Python error: unable to load the...