I'm trying to run the usdview command and the DLL Load Failed - Solutions?

28 views
Skip to first unread message

Nick Harvey

unread,
Aug 13, 2019, 7:08:35 AM8/13/19
to spyder
Howdy guys!

I am currently trying to run the usdview command, but I keep getting this error:
ImportError: DLL load failed: The specified module could not be found.

I have installed USD through the C++ compiler and have set the paths to:

PATH = C:\Program Files\USD\bin; C:\Python27; C:\Python27\Scripts
PYTHONPATH = C:\Program Files\USD\lib\python

Below is what I ran through the command line.
"""
C:\Users\nharvey>usdview C:\Program Files\USD\share\usd\tutorials\convertingLayerFormats\Sphere.usda
Traceback (most recent call last):
  File "C:\Program Files\USD\bin\usdview", line 28, in <module>
    import pxr.Usdviewq as Usdviewq
  File "C:\Program Files\USD\lib\python\pxr\Usdviewq\__init__.py", line 27, in <module>
    from common import Timer
  File "C:\Program Files\USD\lib\python\pxr\Usdviewq\common.py", line 26, in <module>
    from pxr import Ar, Tf, Sdf, Kind, Usd, UsdGeom, UsdShade
  File "C:\Program Files\USD\lib\python\pxr\Ar\__init__.py", line 24, in <module>
    import _ar
ImportError: DLL load failed: The specified module could not be found.
"""

What am I doing wrong? I am not sure why I am getting this error if my Path files are set up properly.

Thank you for your help!

-Nick Harvey

Devidas Kushnure

unread,
Aug 14, 2019, 8:35:08 AM8/14/19
to spyd...@googlegroups.com
I had the same problem of DLL I reinstall the spyder in the working environment.
and resolved the problem.
Try it possibly will work.


--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/b7e05a23-ea91-4672-b531-f22509eeb4de%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages