This is a good question, I have been trying to do the same for a long time. I have literally dropped the use of python bindings and strictly use the binaries because of this.
On Fri, Nov 4, 2022 at 8:06 PM Austin Witherspoon < [email protected]> wrote: > My apologies if this isn't the right place, but the main repo > https://github.com/OpenImageIO/oiio > seemed to indicate that help questions should be sent here. > > We're just trying to install the python package for openimageio for our > python 3.7 scripts, but nobody here knows C++ or vcpkg at all. The best > I've been able to get is Python 3.10 bindings, but I can't seem to find any > information or reverse engineer this enough to figure out how to change the > version. We don't even have Python 3.10 installed on our computers. > > Downloaded vcpkg for windows and followed the instructions here: > https://github.com/Correct-Syntax/py-oiio > to build oiio. > Running this in command prompt builds it: > > *./vcpkg install openimageio[pybind11]:x64-windows* > But again, this defaults to python 3.10 for some reason. I found a > stackoverflow post suggesting that you could change the version with an > environment variable like this: > > *PYBIND11_PYTHON_VERSION=3.7* > but this unfortunately didn't seem to do anything. > > Does anybody here know anything about changing the python version of the > bindings? Any help at all is welcome, and thanks in advance. > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org >
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
