Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add /lib to the PATH variable for running examples #2198

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

eliemichel
Copy link
Contributor

At least on Windows it is required

Description of Change(s)

In the tutorial's Environment Setup section, which is where a lot of newcomers pass by, one is advised to add to the PATH variable the binary directory USD_INSTALL_ROOT/bin, but USD_INSTALL_ROOT/lib is actually required (at least on Windows), without what the following issue is encountered:

C:\Users\emichel\SourceCode>usdview USD/extras/usd/tutorials/convertingLayerFormats/Sphere.usda
Traceback (most recent call last):
  File "C:\Users\emichel\SourceCode\USD_install\bin\usdview", line 28, in <module>
    import pxr.Usdviewq as Usdviewq
  File "C:\Users\emichel\SourceCode\USD_install\lib\python\pxr\Usdviewq\__init__.py", line 27, in <module>
    from pxr import Tf
  File "C:\Users\emichel\SourceCode\USD_install\lib\python\pxr\Tf\__init__.py", line 163, in <module>
    PreparePythonModule()
  File "C:\Users\emichel\SourceCode\USD_install\lib\python\pxr\Tf\__init__.py", line 88, in PreparePythonModule
    module = importlib.import_module(
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\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.
  • I have submitted a signed Contributor License Agreement

At least on Windows it is required
@sunyab
Copy link
Contributor

sunyab commented Jan 27, 2023

Filed as internal issue #USD-7917

@pixar-oss pixar-oss merged commit a44f576 into PixarAnimationStudios:release Apr 19, 2023
@eliemichel eliemichel deleted the patch-1 branch April 20, 2023 06:31
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants