ModuleNotFoundError: No module named 'pxr'

I want to use the official provided API, the code is as follows:

The URL for the API I searched is as follows:
https://docs.omniverse.nvidia.com/kit/docs/kit-manual/104.0/api/pxr.html

The program will encounter a “pxr API not found” error. What could be the reason for this?

same problem.


but i find this, but i have to use issac sim. i don’t know how to solve

I think this would have been better in the Issac Sim channel, but I will find out and get back to you.

Hi @2436442868 - Can you pls provide more information about what would you like to do?

I would request you to refer to this Doc page for Isaac Sim APIs. Isaac Sim APIs are easier to use for users like you. :)
https://docs.omniverse.nvidia.com/isaacsim/latest/reference_python_api.html

Did you try to import pxr after the line ‘simulation_app = SimulationApp(launch_config=launch_config)’ instead of before it? That worked for me.