Open mgbvox opened 4 weeks ago
Hi @mgbvox. When you build USD for yourself, the build script reminds you to to set PYTHONPATH and PATH. We also included that in the README for the prebuilt binaries, but it unfortunately got clobbered for that version. This should be fixed in the prebuilt binaries for newer USD releases going forward. In any case, environment setup instructions that you need are here: https://openusd.org/release/tut_usd_tutorials.html#environment-setup
Filed as internal issue #USD-9632
On Windows 10, working in an offline/high-security environment (no internet, no exceptions). We use Python 3.7.
I was able to get the precompiled binaries provided by NVIDIA here: https://developer.nvidia.com/downloads/usdusdbinaries2211usdpy37windows-8664release02211zip
These I've extracted to
c:/USD
.The contents of that dir look like:
I can see that the pxr library is exposed under:
So I should be able to add this to path and import, right?
Alas, this raises the following error:
When I grab the usd-core library (v 23.11) from pypi (manually, since we're offline), and point sys.path at that, no problem! I place the usd-core lib under this dir:
c:/me/optional/usd-core
And my script:
However, the whole point of this is that we're trying to build a custom Asset Resolver that works in standalone python, and as such need to compile against libraries not present in USD-CORE. Hence my attempts to use the pxr lib distributed in those binaries.
plz halp.