When building with vcpkg, the python bindings are an optional extension. So you 
need to run

        vcpkg install openimageio[pybind11]:x64-windows

Other options can be seen by looking at the openmageio port file for vcpkg:

https://github.com/microsoft/vcpkg/blob/master/ports/openimageio/portfile.cmake#L30
 
<https://github.com/microsoft/vcpkg/blob/master/ports/openimageio/portfile.cmake#L30>

You may need to enable several options if you want all oiio features enabled. 
"tools" is another important one, if you want the command line tools.



> On Jun 3, 2020, at 12:27 PM, Zelkanok <zelka...@gmail.com> wrote:
> 
> Hello Everyone,
> 
> I've been having trouble for the past couple of days on how to set up the 
> python bindings for oiio. I've installed the package through vckpg, and I 
> found the python subdirectory under the */vckpg/buildtrees/openimageio/src/* 
> path. I'm currently using Windows 10 and Python 3.7.
> 
> The documentation doesn't have much to go on how to set up the bindings (only 
> saying to include the path of the python subdirectory under PYTHONPATH). So, 
> I did exactly that under my environment system variables. However, I still 
> can not import the OpenImageIO in python.
> 
> Any help would be appreciated!
> 
> Regards,
> 
> Andrew
> _______________________________________________
> Oiio-dev mailing list
> Oiio-dev@lists.openimageio.org
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
l...@larrygritz.com




_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to