Closed kwokcb closed 2 months ago
Hey!
It should be enough to just add the usd libs to PATH as long as they also include the relevant usd plugins (like usdmtlx).
"Our" usd package that can be installed via pip install git+https://github.com/PrismPipeline/OpenUSD_build.git@23.11-win-mtlx-1.38.8
goes the route of adding the DLLs on python similar to how the usd-core
package handles this: https://github.com/PixarAnimationStudios/OpenUSD/blob/release/build_scripts/pypi/package_files/setup.py#L85-L99
Other than that your setup should work. The error might be due to a python version mismatch for the provided compiled usd binaries?
I just successfully tried this using a fresh local python3.9 venv on windows
pip install QuiltiX
pip install git+https://github.com/PrismPipeline/OpenUSD_build.git@23.11-win-mtlx-1.38.8
python -m QuiltiX
We should add some docs for users on how to provide their own USD.
Query
I am curious as to the recommended way to set up search paths for using Usd.
"Default" Setup
Running results in errors as the DLLS cannot be found.
Working Options
It's possible to then set the search PATH to point to either:
I'd assume for the "default" case it would be the package location. For this is it possible to make it run without setting up this manually? BTW I'm unsure if this is only with Usd 23.11 but when I upgraded QuiltiX was using my previous local install of Usd 23.08 instead. When I got rid of the paths to that distro, then startup would fail.
What is the advice on how to set things up "correctly"?