Wed Jun 02, 2021 12:48 am
I hope this is the right sub-forum for this question. I've been building a python (3.6.8) app on Mac that I've bundled into an executable that will run even if a user doesn't have Python installed. It interacts with Resolve via the API. Works fine.
I'm now trying to port it to Windows, and it's seeming like fusionscript.dll, or some other dll it calls, is dependent upon a Python install to run, even when I've embedded all of the necessary runtime libraries using pyinstaller. There seems to be just *one* file in the Python install that the fusionscript.dll is dependent upon to run, that being os.py in the Lib folder. This is odd, because the os module is definitely bundled in the exe, , imports without complaint, and performs functions is my script before fusionscript.dll is imported. If os.py is present in its normal install location, the exe starts up fine. If that one file is missing, the exe quits abruptly (and without registering an error) when it hits script_module = imp.load_dynamic("fusionscript", path + "fusionscript" + ext).
Any ideas for a workaround?