Hi Dave,

I can tell you where the error comes from, but I don't know how to fix it correctly:

Am 24.06.23 um 19:29 schrieb Dave Ohlsson:
9. And now, when I ran embedded_python.exe:

20:14:06: Starting
C:\temp\build-embedded_python-Desktop_Qt_6_1_3_MSVC2019_64bit-Debug\debug\embedded_python.exe...
Could not find platform independent libraries <prefix>
Python path configuration:
   PYTHONHOME = (not set)
   PYTHONPATH = (not set)
   program name =


Python consists of the DLL that you have lined it with plus a large number of files (standard library) which contain, e.g., the encoding data and builtin functions etc. It needs to find these in order to run. You could set PYTHONHOME as an environment variable to point to that folder. If you don't use the regular Pyton installer, then you need to install these files yourself. Maybe there is also a way to set it from the C code.

        Christian
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to