Open Reginald-L opened 1 month ago
@Reginald-L does your file structure look something like this:
├── LICENSE ├── oiio │ ├── boost_atomic-vc143-mt-x64-1_82.dll │ ├── boost_chrono-vc143-mt-x64-1_82.dll │ ├── boost_container-vc143-mt-x64-1_82.dll │ ├── boost_context-vc143-mt-x64-1_82.dll │ ├── boost_coroutine-vc143-mt-x64-1_82.dll │ ├── boost_date_time-vc143-mt-x64-1_82.dll │ ├── boost_filesystem-vc143-mt-x64-1_82.dll │ ├── boost_random-vc143-mt-x64-1_82.dll │ ├── boost_regex-vc143-mt-x64-1_82.dll │ ├── boost_stacktrace_noop-vc143-mt-x64-1_82.dll │ ├── boost_stacktrace_windbg-vc143-mt-x64-1_82.dll │ ├── boost_stacktrace_windbg_cached-vc143-mt-x64-1_82.dll │ ├── boost_system-vc143-mt-x64-1_82.dll │ ├── boost_thread-vc143-mt-x64-1_82.dll │ ├── bz2.dll │ ├── fmt.dll │ ├── Iex-3_1.dll │ ├── IlmThread-3_1.dll │ ├── Imath-3_1.dll │ ├── jpeg62.dll │ ├── legacy.dll │ ├── libcrypto-3-x64.dll │ ├── libexpat.dll │ ├── libffi.dll │ ├── liblzma.dll │ ├── libpng16.dll │ ├── libssl-3-x64.dll │ ├── OpenEXR-3_1.dll │ ├── OpenEXRCore-3_1.dll │ ├── OpenEXRUtil-3_1.dll │ ├── OpenImageIO.pyd │ ├── OpenImageIO.dll │ ├── OpenImageIO_Util.dll │ ├── python3.dll │ ├── python310.dll │ ├── sqlite3.dll │ ├── tiff.dll │ ├── turbojpeg.dll │ ├── zlib1.dll │ └── init.py ├── README.md ├── setup.cfg ├── setup.py └── tests ├── img │ └── oiio-logo-with-alpha.png └── test.py
I have already got a .pyi file,
Its important that the file is renamedOpenImageIO.pyd
not OpenImageIO.pyi
or something else. :)
Also should check that the oiio folder is in the same folder as your script.
Great work! I have already got a .pyi file, but when I execute import OpenImageIO as oiio in my python script, there is still a error "No module named as OpenImageIO "