OpenColorIO icon indicating copy to clipboard operation
OpenColorIO copied to clipboard

python 3.9 and python 3.7 failed to load dynamic on windows

Open bluearte opened this issue 2 years ago • 0 comments

I installed it using https://github.com/AcademySoftwareFoundation/OpenColorIO/blob/RB-2.2/share/dev/windows/ocio.bat

modname = "PyOpenColorIO" path = r"C:\ocio_temp\ocio\3.9\install\Release\lib\site-packages\PyOpenColorIO.pyd" loader = importlib.machinery.SourceFileLoader(modname, path) _mod = types.ModuleType(loader.name) loader.exec_module(_mod) Traceback (most recent call last): File "", line 1, in File "", line 846, in exec_module File "", line 983, in get_code File "", line 913, in source_to_code File "", line 228, in _call_with_frames_removed ValueError: source code string cannot contain null bytes

hopefully anyone can help me to solve this problem or am I missing something?

bluearte avatar Feb 16 '23 04:02 bluearte