I tried using bash after this comment — and finally, I saw the light at the end of the tunnel. So this issue might be caused by zsh.
I noticed there's already logic for handling zsh (i.e., if [ -n "$ZSH_VERSION" ]; then ...), but it doesn't seem to be working.
@kellyguo11 Hi, I have tried source ../IsaacSim/_build/linux-x86_64/release/setup_conda_env.sh, but still met the same error ModuleNotFoundError: No module named 'isaacsim'
(isaac)➜ IsaacLab git:(feature/isaacsim_5_0) ls -l ../IsaacSim/_build/linux-x86_64/release/setup_conda_env.sh
-rwxrwxr-x 1 aby aby 1586 Aug 3 16:32 ../IsaacSim/_build/linux-x86_64/release/setup_conda_env.sh
(isaac) ➜ IsaacLab git:(feature/isaacsim_5_0) source ../IsaacSim/_build/linux-x86_64/release/setup_python_env.sh
(isaac) ➜ IsaacLab git:(feature/isaacsim_5_0) ./isaaclab.sh -p scripts/reinforcement_learning/skrl/train.py --task Isaac-Ant-v0 --headless
[INFO] Using python from: /home/aby/anaconda3/envs/isaac/bin/python
Traceback (most recent call last):
File "/home/aby/sim5/IsaacLab/scripts/reinforcement_learning/skrl/train.py", line 18, in <module>
from isaaclab.app import AppLauncher
File "/home/aby/sim5/IsaacLab/source/isaaclab/isaaclab/app/__init__.py", line 15, in <module>
from .app_launcher import AppLauncher # noqa: F401, F403
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/aby/sim5/IsaacLab/source/isaaclab/isaaclab/app/app_launcher.py", line 26, in <module>
from isaacsim import SimulationApp
ModuleNotFoundError: No module named 'isaacsim'
System Info
- Isaac Lab Version: feature/isaacsim_5_0 branch
- OS: Ubuntu 22.04
- GPU: NVIDIA RTX 5070Ti
- CUDA: 12.8
- GPU Driver: 570.133.07
- shell: zsh
Originally posted by @BGDabyss in #2706
I tried using
bashafter this comment — and finally, I saw the light at the end of the tunnel. So this issue might be caused byzsh.I noticed there's already logic for handling
zsh(i.e.,if [ -n "$ZSH_VERSION" ]; then ...), but it doesn't seem to be working.Originally posted by @BGDabyss in #2706