Hi everybody,
Thanks for your excellent work. Currently I want to install OpenImageIO on
windows 10 and import it in python programs but got some problems. I firstly
installed vcpkg, and used vcpkg install openimageio[pybind11]:x64-windows
to get OpenImageIO installed. I saw on the documentation I should set the
python subdirectory of the OpenImageIO installation environment in PYTHONPATH,
and I'm not sure what's the python subdirectory, so I searched the directory
and set all these in PYTHONPATH:
X:\vcpkg\packages\openimageio_x64-windows\lib\python3.10\site-packages\OpenImageIO;
X:\vcpkg\buildtrees\openimageio\src\v2.4.5.0-b216103625.clean\src;
X:\vcpkg\packages\openimageio_x64-windows\lib;
X:\vcpkg\buildtrees\openimageio\src;X:\vcpkg\packages\python3_x64-windows\share\python3;
X:\vcpkg\buildtrees\openimageio\src\v2.4.5.0-b216103625.clean\src\python;
X:\vcpkg\installed\x64-windows\lib\python3.10\site-packages\OpenImageIO;
X:\vcpkg\installed\x64-windows\debug\lib\python3.10\site-packages\OpenImageIO;
X:\vcpkg\buildtrees\openimageio\x64-windows-rel\bin;
X:\vcpkg\buildtrees\openimageio\x64-windows-dbg\bin;
X:\vcpkg\packages\openimageio_x64-windows\debug\lib\python3.10\site-packages\OpenImageIO;
And that didn't work. I also saw on some discussion OpenImageIO python binding
only supports pyhton 3.8, but after test I cannot import OpenImageIO in 3.8, or
3.6 or 3.9.
So I don't know what shuold I do to get it installed and can be imported in
python. Can anyone give me some advice?Any suggestion would be appreciated!
Sincerely,
Shichen
_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org