Dear Nvidia community,
When using any USD functionality or importing the package, I run into the following error message:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\peter\Documents\Programme\usd\lib\python\pxr\Tf\__init__.py", line 164, in <module>
PreparePythonModule()
File "C:\Users\peter\Documents\Programme\usd\lib\python\pxr\Tf\__init__.py", line 89, in PreparePythonModule
module = importlib.import_module(
File "C:\Users\peter\AppData\Local\Programs\Python\Python38\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: DLL load failed while importing _tf: The specified module could not be found.
I stumbled upon other folks having the same issue, like in #1602, but all solutions were not successful.
Steps to Reproduce
- Download and extract the pre-built USD package from Nvidia.
- Add the usd/bin to the path variable.
- Add the usd/lib/python path to the pythonpath variable.
- Install 64bit Visual Studio redistributables.
- Update pyside 2, importlib to the newest version.
- Run
usdcat test.usd
in a terminal.
My system is running on Windows 11. I tested Python version 3.7, 3.8, 3.10 and 3.11.