question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tests fail due to missing module "pxr"

See original GitHub issue

Hi

I installed kaolin and can import the library, however, running pytest tests/ fails due to the missing module pxr, which appears to be related to USD files.

I thought packman was supposed to install the dependencies for manipulating USD files. Should pxr be installed manually?

Platform:

  • Ubuntu 18.04
  • Python 3.7.5
  • Pytorch 1.3.1
  • CUDA 10.1.243 with CUDNN 7.6.3

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
Caenorstcommented, Aug 30, 2021

Hi @MoyGcc ,

It’s already the case! see: https://github.com/NVIDIAGameWorks/kaolin/pull/426 merged 10 days ago 😃

PS: v0.9.1 is still a Draft, should be officially released soon!

0reactions
MoyGcccommented, Aug 30, 2021

Hi @feboz , usd-core (which is basically this pxr module) is only compatible with python 3.6 or 3.7. You should have a warning about usd-core not getting installed when python version is at 3.8 or above.

Hi @Caenorst,

thank you for the contribution of this great work and kind help! I would make a follow-up question. The latest version of usd-core (like 21.8) is now compatible with python3.8 however the usd-core 20.11 is unfortunately yet not. I can still notice the installation of the newer version of kaolin 0.9.1 still needs usd-core 20.11 as an optional dependency. Will kaolin also be compatible with a newer version of usd-core which supports python3.8?

Read more comments on GitHub >

github_iconTop Results From Across the Web

py.test fails due to missing module - Stack Overflow
I would like to write a test, but this test will pass only if the nlopt module is installed. Since this module is...
Read more >
PXR trip units for Power Defense molded case cir - Eaton
Failure to use this module for neutral sensing may cause permanent damage to the trip unit. Power Defense MCCB. N. PXR. Voltage sensor...
Read more >
Review Request: usd - 3D VFX pipeline interchange file format
Created attachment 1750235 [details] Mock build log Fails to build in mock for me. ... There is no %check section; did you try...
Read more >
Search | Forums | SideFX
ModuleNotFoundError : No module named 'pxr.CameraUtil' ... I did install a copy of the Pixar Python library for some other testing on a...
Read more >
Missing module error while running unit test - Drupal Answers
We ran into the same issue with the 'cookies_etracker' submodule of 'etracker'. I guess this happens, if you have a submodule AND a ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found