Blender - Omniverse Nucleus Connector error: DLL load failed while importing _tf

Dear Nvidia community,

I am trying to install the omniverse connector from the blender add-ons.

and as soon as I click the enable add on I am faced with an error dialog

Error:

Traceback (most recent call last):
  File "C:\Users\dheerajakula\AppData\Local\ov\pkg\blender-4.0.0-usd.201.1\Release\4.0\scripts\modules\addon_utils.py", line 364, in enable
    mod = importlib.import_module(module_name)
  File "C:\Users\dheerajakula\AppData\Local\ov\pkg\blender-4.0.0-usd.201.1\Release\4.0\python\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\Users\dheerajakula\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\omni_nucleus\__init__.py", line 24, in <module>
    from .registration import (
  File "C:\Users\dheerajakula\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\omni_nucleus\registration.py", line 43, in <module>
    from .operators import (
  File "C:\Users\dheerajakula\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\omni_nucleus\operators.py", line 13, in <module>
    from pxr import Ar
  File "C:\USD\lib\python\pxr\Ar\__init__.py", line 24, in <module>
    from pxr import Tf
  File "C:\USD\lib\python\pxr\Tf\__init__.py", line 163, in <module>
    PreparePythonModule()
  File "C:\USD\lib\python\pxr\Tf\__init__.py", line 88, in PreparePythonModule
    module = importlib.import_module(
  File "C:\Users\dheerajakula\AppData\Local\ov\pkg\blender-4.0.0-usd.201.1\Release\4.0\python\lib\importlib\__init__.py", line 126, 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.

Any leads would be much appreciated!

Hi @dheerajakula0101. Do you have USD installed locally? If so, is the local USD library in your PATH or PYTHONPATH environment variables?

Hey @makowalski yes, I have USD installed locally and have both C:\USD\bin, C:\USD\lib in my path. I also set my python path set to C:\USD\lib\python.

Hi @dheerajakula0101. Thanks for the information. I suspect there may be a conflict between the USD version you have installed locally and the USD version used in Blende and the Omniverse Connector add-on.

We will work on addressing this in the installer. However, it would be good to confirm that this is the actual issue. If it’s not too much trouble, would it be possible for you to test this by temporarily removing C:\USD\bin and C:\USD\lib from the path environment variables to see if this fixes the installation? But no problem if you aren’t able to do this, as I realize this might be inconvenient.