API#

Python API#

import_module(name: str) ModuleType#

Try to import a Python package/module and return it.

If a package or module is not found, an error message will be logged and the application will exit. A notice with further instructions will also be logged for the following packages:

  • torch

Parameters:

name – The name of the package/module to import.

Example:

>>> from isaacsim.core.deprecation_manager import import_module
>>>
>>> numpy = import_module("numpy")