Hi all,
I would like to launch a Python app, packaged by PyInstaller, from a C++ application, using the Python C API.
The app builds well, it is linked to the "Python" lib of the PyInstaller package, and I can launch a Python script with it via the Python C API.
However, the core Python modules, e.g. "json", are not found. The original Python installation contains these as scripts, but PyInstaller compiles them to ".so"-s and puts them into "lib-dynload".
I added the "base_library.zip" and "lib-dynload" to the module search paths, but the modules are still not found.
Does anyone know how to load these modules?
Thank you so much!
Kind regards,
Miklos