You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Disable loading Python DLLs from PATH by default on Windows (#4590)
Users can enable the legacy behavior by setting env var
`OIIO_PYTHON_LOAD_DLLS_FROM_PATH=1`.
This commit also changes the environment variable name from
`OIIO_LOAD_DLLS_FROM_PATH` to `OIIO_PYTHON_LOAD_DLLS_FROM_PATH` to match
the convention used by OCIO.
This PR addresses issue #4519
---------
Signed-off-by: Zach Lewis <[email protected]>
Copy file name to clipboardExpand all lines: INSTALL.md
+9
Original file line number
Diff line number
Diff line change
@@ -357,6 +357,15 @@ produce a dynamic-linked version.
357
357
358
358
3. Execute the PowerShell command from where vcpkg is located in directory. ``vcpkg install openimageio``
359
359
360
+
361
+
**Note: Importing the OpenImageIO Python Module**
362
+
363
+
As of OpenImageIO 3.0.3.0, the default DLL-loading behavior for Python 3.8+ has changed.
364
+
365
+
If you've built OIIO from source and ``import OpenImageIO`` is throwing a ModuleNotFound exception, revert to the legacy DLL-loading behavior by setting environment variable
0 commit comments