Skip to content

[Bug Report] ModuleNotFoundError: No module named 'isaaclab' #4576

Description

@shileiphys

Hello, I need some help!

when I tried to run the test ./isaaclab.sh -p scripts/tutorials/00_sim/create_empty.py, I got error
"""
from isaaclab.app import AppLauncher
ModuleNotFoundError: No module named 'isaaclab'
"""

the only ERROR I saw during installation is the following:
"""
Using cached flatdict-4.0.1.tar.gz (8.3 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "/home/lei/Projects/isaaclab_test/IsaacLab/env_isaaclab/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in
main()
File "/home/lei/Projects/isaaclab_test/IsaacLab/env_isaaclab/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lei/Projects/isaaclab_test/IsaacLab/env_isaaclab/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-x8g5s0se/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-x8g5s0se/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-x8g5s0se/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 520, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-x8g5s0se/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "", line 1, in
ModuleNotFoundError: No module named 'pkg_resources'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'flatdict' when getting requirements to build wheel
"""

yet I did install pip install setuptools==66.1.1 and was able to run python -c "import pkg_resources; print('pkg_resources is available')" successfully

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions