Skip to content

[Bug Report] ModuleNotFoundError:No module named 'omni.isaac.kit‘ ; Had tried the issue #103 Solution #516

Closed

Description

@cidxb

Hi, I am new to this repo
I have followed the instruction from https://isaac-sim.github.io/IsaacLab/source/setup/installation/verifying_installation.html to check my installation of IsaacLab.
With these two codes

# Option 1: Using the isaaclab.sh executable
# note: this works for both the bundled python and the virtual environment
./isaaclab.sh -p source/standalone/tutorials/00_sim/create_empty.py

# Option 2: Using python in your virtual environment
python source/standalone/tutorials/00_sim/create_empty.py 

And it returns

[INFO] Using python from: /home/paxini/anaconda3/envs/LLM/bin/python                     
Traceback (most recent call last):
  File "/home/xxx/IsaacLab/source/standalone/tutorials/00_sim/create_empty.py", line 20, in <module>
    from omni.isaac.lab.app import AppLauncher
  File "/home/xxx/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/app/__init__.py", line 15, in <module>
    from .app_launcher import AppLauncher  # noqa: F401, F403
  File "/home/xxx/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/app/app_launcher.py", line 27, in <module>
    from omni.isaac.kit import SimulationApp
ModuleNotFoundError: No module named 'omni.isaac.kit'

My Isaac Sim is 4.0.0 installed from the Omniverse. I have done a Create Isaac Sim Symbolic Link according to the guide.
I am using Ubuntu 20.04

I have read the relative issue posts, i see there were plenty similar error occurred before the name of project change to IsaacLab
#269
#406
and #103

I had tried the solution of #103, but it doesn't work. So I wonder if there are some changes causing the solution from #103 no longer apply-able.
Please if someone counter the same issue and has solution for it, can share?

Activity

  1. Dhoeller19 commented on Jun 14, 2024

    @Dhoeller19

    Hi @cidxb,
    Have you done ./isaaclab.sh -i ?

  2. cidxb commented on Jun 17, 2024

    @cidxb
    ContributorAuthor

    ./isaaclab.sh -i

    Yes, of course I have.
    I have followed the instruction strictly.

  3. adamphung-ho commented on Jun 17, 2024

    @adamphung-ho

    I got the same issue when verifying isaac lab installation. I switched my shell to zsh and followed solution in #103, but it didn't work. (I installed isaac sim binaries)

  4. fooyuhui commented on Jun 17, 2024

    @fooyuhui
    Contributor

    ./isaaclab.sh -i

    Yes, of course I have. I have followed the instruction strictly.

    hello,maybe you can use bash and then execute ./isaaclab.sh -i

  5. cidxb commented on Jun 17, 2024

    @cidxb
    ContributorAuthor

    ./isaaclab.sh -i

    Yes, of course I have. I have followed the instruction strictly.

    hello,maybe you can use bash and then execute ./isaaclab.sh -i

    Hi, I have tried your solution, still not working.

  6. cidxb commented on Jun 17, 2024

    @cidxb
    ContributorAuthor

    I personally lean on this is kind of path problem that python can't recognize the module? Since my Issac Sim is running well... It is and I can import the sub modules of omni.isaac . I just don't really know how to fix it ...

  7. adamphung-ho commented on Jun 18, 2024

    @adamphung-ho

    @cidxb you can try to run verifying code with bash shell in vscode. I tried and it worked.

  8. cidxb commented on Jun 18, 2024

    @cidxb
    ContributorAuthor

    @cidxb you can try to run verifying code with bash shell in vscode. I tried and it worked.

    Thank for the suggestion.
    I tried, i am using Ubuntu20.04, the terminal is in bash, right?

  9. adamphung-ho commented on Jun 18, 2024

    @adamphung-ho

    Yeah, you can choose different type of shell with vscode, but the default is bash.

  10. sunmingang commented on Jul 2, 2024

    @sunmingang

    I have the same issue, Does anyone have a solution ?
    env: ubuntu22.04, isaacsim 4.0, installed by binary.

  11. sunmingang commented on Jul 2, 2024

    @sunmingang

    The issue is solved, if you running the app/command at conda env, you should run the script "source setup_conda_env.sh", the file located the Isaacsim root directory.

  12. swstbecrpgmail commented on Jul 3, 2024

    @swstbecrpgmail

    The issue is solved, if you running the app/command at conda env, you should run the script "source setup_conda_env.sh", the file located the Isaacsim root directory.

    This works for me, thank you very much!

  13. added
    bug
    on Jul 3, 2024
  14. self-assigned this
    on Jul 3, 2024
  15. RunpeiDong commented on Jul 4, 2024

    @RunpeiDong

    Hi @sunmingang,

    It does not work for me. What exact command do you run?

    The issue is solved, if you running the app/command at conda env, you should run the script "source setup_conda_env.sh", the file located the Isaacsim root directory.

  16. 14 remaining items

  17. krishnapraveen7 commented on Sep 13, 2024

    @krishnapraveen7

    Fkn re tarded guide with useless setup steps. Why add step with binaries when it doesn't work? If I have to install with pip install isaacsim then only write that , god how is it so fkn hard. So i have spent 2 hours to install useless isaac sim from their bullshit omniverse launcher just to know that i have to do pip install.

  18. krishnapraveen7 commented on Sep 13, 2024

    @krishnapraveen7

    Fkn re tarded guide with useless setup steps. Why add step with binaries when it doesn't work? If I have to install with pip install isaacsim then only write that , god how is it so fkn hard. So i have spent 2 hours to install useless isaac sim from their bullshit omniverse launcher just to know that i have to do pip install.

    Yes i get this bullshit error. I followed all the steps that are mentioned in the useless guide.

    Traceback (most recent call last):
    File "C:\Users\krishna\ProjectX\IsaacLab\source\standalone\tutorials\00_sim\create_empty.py", line 20, in
    from omni.isaac.lab.app import AppLauncher
    File "C:\Users\krishna\ProjectX\IsaacLab\source\extensions\omni.isaac.lab\omni\isaac\lab\app_init_.py", line 15, in
    from .app_launcher import AppLauncher # noqa: F401, F403
    File "C:\Users\krishna\ProjectX\IsaacLab\source\extensions\omni.isaac.lab\omni\isaac\lab\app\app_launcher.py", line 26, in
    from omni.isaac.kit import SimulationApp
    ModuleNotFoundError: No module named 'omni.isaac.kit'

  19. zlw21gxy commented on Oct 11, 2024

    @zlw21gxy

    I am using Ubuntu 20.04. It turns out that you need to source the Isaac setup shell. I copied the solution from here: https://forums.developer.nvidia.com/t/no-module-named-omni-isaac/197312/4.

    So, you need 'cd _issac_sim' as you already created the link if you follow the install guide, or you go to the directory you install Isaac, then source setup_python_env.sh or as I did source setup_conda_env.sh because I use conda env.

  20. Txxxxxxxxx commented on Nov 25, 2024

    @Txxxxxxxxx

    I think I found a solution. You need to modify this file: setup_python_env.sh , which is referenced by setup_conda_env_zsh.sh .

    setup_python_env.sh :
    `#!/bin/bash

    if [ -n "$ZSH_VERSION" ]; then
    SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
    else
    SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    fi

    export PYTHONPATH=$PYTHONPATH:$SCRIPT_DIR/../../../$PYTHONPATH:$SCRIPT_DIR/kit/python/lib/python3.10/site-packages:$SCRIPT_DIR/python_packages:$SCRIPT_DIR/exts/omni.isaac.kit:$SCRIPT_DIR/kit/kernel/py:$SCRIPT_DIR/kit/plugins/bindings-python:$SCRIPT_DIR/exts/omni.isaac.lula/pip_prebundle:$SCRIPT_DIR/exts/omni.exporter.urdf/pip_prebundle:$SCRIPT_DIR/extscache/omni.kit.pip_archive-0.0.0+10a4b5c0.lx64.cp310/pip_prebundle:$SCRIPT_DIR/exts/omni.isaac.core_archive/pip_prebundle:$SCRIPT_DIR/exts/omni.isaac.ml_archive/pip_prebundle:$SCRIPT_DIR/exts/omni.pip.compute/pip_prebundle:$SCRIPT_DIR/exts/omni.pip.cloud/pip_prebundle
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SCRIPT_DIR/../../../$LD_LIBRARY_PATH:$SCRIPT_DIR/.:$SCRIPT_DIR/exts/omni.usd.schema.isaac/plugins/IsaacSensorSchema/lib:$SCRIPT_DIR/exts/omni.usd.schema.isaac/plugins/RangeSensorSchema/lib:$SCRIPT_DIR/exts/omni.isaac.lula/pip_prebundle:$SCRIPT_DIR/exts/omni.exporter.urdf/pip_prebundle:$SCRIPT_DIR/kit:$SCRIPT_DIR/kit/kernel/plugins:$SCRIPT_DIR/kit/libs/iray:$SCRIPT_DIR/kit/plugins:$SCRIPT_DIR/kit/plugins/bindings-python:$SCRIPT_DIR/kit/plugins/carb_gfx:$SCRIPT_DIR/kit/plugins/rtx:$SCRIPT_DIR/kit/plugins/gpu.foundation`

  21. jiangranlv commented on Dec 26, 2024

    @jiangranlv

    I think I found a solution. You need to modify this file: setup_python_env.sh , which is referenced by setup_conda_env_zsh.sh .

    setup_python_env.sh : `#!/bin/bash

    if [ -n "$ZSH_VERSION" ]; then SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )" else SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" fi

    export PYTHONPATH=$PYTHONPATH:$SCRIPT_DIR/../../../$PYTHONPATH:$SCRIPT_DIR/kit/python/lib/python3.10/site-packages:$SCRIPT_DIR/python_packages:$SCRIPT_DIR/exts/omni.isaac.kit:$SCRIPT_DIR/kit/kernel/py:$SCRIPT_DIR/kit/plugins/bindings-python:$SCRIPT_DIR/exts/omni.isaac.lula/pip_prebundle:$SCRIPT_DIR/exts/omni.exporter.urdf/pip_prebundle:$SCRIPT_DIR/extscache/omni.kit.pip_archive-0.0.0+10a4b5c0.lx64.cp310/pip_prebundle:$SCRIPT_DIR/exts/omni.isaac.core_archive/pip_prebundle:$SCRIPT_DIR/exts/omni.isaac.ml_archive/pip_prebundle:$SCRIPT_DIR/exts/omni.pip.compute/pip_prebundle:$SCRIPT_DIR/exts/omni.pip.cloud/pip_prebundle export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SCRIPT_DIR/../../../$LD_LIBRARY_PATH:$SCRIPT_DIR/.:$SCRIPT_DIR/exts/omni.usd.schema.isaac/plugins/IsaacSensorSchema/lib:$SCRIPT_DIR/exts/omni.usd.schema.isaac/plugins/RangeSensorSchema/lib:$SCRIPT_DIR/exts/omni.isaac.lula/pip_prebundle:$SCRIPT_DIR/exts/omni.exporter.urdf/pip_prebundle:$SCRIPT_DIR/kit:$SCRIPT_DIR/kit/kernel/plugins:$SCRIPT_DIR/kit/libs/iray:$SCRIPT_DIR/kit/plugins:$SCRIPT_DIR/kit/plugins/bindings-python:$SCRIPT_DIR/kit/plugins/carb_gfx:$SCRIPT_DIR/kit/plugins/rtx:$SCRIPT_DIR/kit/plugins/gpu.foundation`

    It works well. Thanks

  22. zhwhong commented on Aug 31, 2025

    @zhwhong

    I think I found a solution. You need to modify this file: setup_python_env.sh , which is referenced by setup_conda_env_zsh.sh .

    setup_python_env.sh : `#!/bin/bash

    if [ -n "$ZSH_VERSION" ]; then SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )" else SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" fi

    export PYTHONPATH=$PYTHONPATH:$SCRIPT_DIR/../../../$PYTHONPATH:$SCRIPT_DIR/kit/python/lib/python3.10/site-packages:$SCRIPT_DIR/python_packages:$SCRIPT_DIR/exts/omni.isaac.kit:$SCRIPT_DIR/kit/kernel/py:$SCRIPT_DIR/kit/plugins/bindings-python:$SCRIPT_DIR/exts/omni.isaac.lula/pip_prebundle:$SCRIPT_DIR/exts/omni.exporter.urdf/pip_prebundle:$SCRIPT_DIR/extscache/omni.kit.pip_archive-0.0.0+10a4b5c0.lx64.cp310/pip_prebundle:$SCRIPT_DIR/exts/omni.isaac.core_archive/pip_prebundle:$SCRIPT_DIR/exts/omni.isaac.ml_archive/pip_prebundle:$SCRIPT_DIR/exts/omni.pip.compute/pip_prebundle:$SCRIPT_DIR/exts/omni.pip.cloud/pip_prebundle export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SCRIPT_DIR/../../../$LD_LIBRARY_PATH:$SCRIPT_DIR/.:$SCRIPT_DIR/exts/omni.usd.schema.isaac/plugins/IsaacSensorSchema/lib:$SCRIPT_DIR/exts/omni.usd.schema.isaac/plugins/RangeSensorSchema/lib:$SCRIPT_DIR/exts/omni.isaac.lula/pip_prebundle:$SCRIPT_DIR/exts/omni.exporter.urdf/pip_prebundle:$SCRIPT_DIR/kit:$SCRIPT_DIR/kit/kernel/plugins:$SCRIPT_DIR/kit/libs/iray:$SCRIPT_DIR/kit/plugins:$SCRIPT_DIR/kit/plugins/bindings-python:$SCRIPT_DIR/kit/plugins/carb_gfx:$SCRIPT_DIR/kit/plugins/rtx:$SCRIPT_DIR/kit/plugins/gpu.foundation`

    It really helps. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions