Repository navigation
Description
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
Activity
Jason-xy commentedon Feb 9, 2026
I encountered the same problem even when switching to different tags. Have you found a solution?
mwulfman commentedon Feb 9, 2026
See this issue for the solution: #4577
ewirbel commentedon Feb 10, 2026
I have a PR that removes flatdict entirely #4585 This module is used only once, for a very specific use case (flattening dictionary for settings). This module is very old and it's probably better to remove it entirely
shileiphys commentedon Feb 11, 2026
so after installing the following first
I was able to
./isaaclab.sh --installwithout any errors.Yet I still got the same module not found error when trying the both tests,e.g.:
./isaaclab.sh -p scripts/tutorials/00_sim/create_empty.pyany suggestions?
thanks
mwulfman commentedon Feb 11, 2026
I had the same issue, you can see my comment above yours pointing to the solution that worked for me.
shileiphys commentedon Feb 12, 2026
Thanks for post! Yes, except
pip install pip==23which throw me error when was trying to install, so I didpip updateinstead. Is the pip==23 really required?here's the error when I tried it again
arshadlab commentedon Feb 16, 2026
The setup.py under source/isaaclab specifies flatdict==4.0.1, which is not compatible with Python 3.11. Updating the dependency to flatdict==4.1.0 resolves the issue and allows the installation to complete successfully.
KimYe-Ji0305 commentedon Feb 16, 2026
i have same issue, i did all of solution, upside this comment. i work on window 11. i can't install isaac lab.
ooctipus commentedon Feb 16, 2026
Some dependency installation may have failed during install isaaclab core packages,
We have seen flatdict versioning becoming problem recently. Try install flatdict==4.0.0 before install isaaclab.
for ModuleNotFoundError: No module named 'pkg_resources'
you may need to downgrade the setuptools
shileiphys commentedon Feb 16, 2026
So I decided to use binary route and installed
isaac-labwith conda. I was able to lunch./isaaclab.sh -p scripts/tutorials/00_sim/create_empty.psuccessfully! Make sure you runsource _isaac_sim/setup_conda_env.stoo.However, there are still many erros, main with omni.kit.test, omni.graph.tools and gcc, e.g.,
iaq3 commentedon Feb 17, 2026
I had this issue, then fixed it by locking setuptools to 81
setuptools 82+ removed pkg_resources, which broke pip's build isolation:
isaaclab.sh -i runs pip install --editable .../isaaclab with full dependencies
pip resolves flatdict==4.0.1 as a dependency → needs to build a wheel
pip creates an isolated build environment in /tmp/pip-build-env-*/ and pulls the latest setuptools (82+)
flatdict's setup.py does import pkg_resources → ModuleNotFoundError (removed in 82)
isaaclab install fails, but isaaclab.sh uses find -exec which silently swallows the error
Result: isaaclab and all its deps (flatdict, prettytable, pyglet, hidapi, etc.) never get installed into Isaac Sim's Python
I had to add these to my docker to lock setuptools version.
RUN echo "setuptools<81" > /etc/pip-constraints.txt
RUN /isaac-sim/python.sh -m pip install --force-reinstall "numpy==1.26.4" "setuptools<81"
yyh-ai commentedon Mar 6, 2026
You can check where the installation is failing by running ./isaaclab.sh --install 2>&1 | tee install_log.txt, and then fix the issues. IsaacLab is considered successfully installed only after no errors are reported.
d-kleine commentedon Mar 17, 2026
Even for the most recent Isaac Lab v2.3.2 the issue persists, I can confirm this on my end too.
GiulioRomualdi commentedon Mar 18, 2026
Hi all in our team we fixed the problem by appling the following patch to isaaclab v2.3.2
This is actually what is written by @arshadlab in #4576 (comment)
Bump flactidit version from v4.0.1 to v4.1.0
fix: relax flatdict version pin to >=4.0.0
fix: relax flatdict version pin to >=4.0.0
Update flatdict from 4.0.0 to 4.1.0
Update flatdict from 4.0.0 to 4.1.0
Fix flatdict version pin to allow 4.1.0+ (main) (isaac-sim#5182)
Fix flatdict version pin to allow 4.1.0+ (develop) (#5181)
nicolasj92 commentedon Apr 24, 2026
Hi, can you please do this for the 2.3.2 release? It is still broken because of this issue.
nicolasj92 commentedon Apr 27, 2026
@AntoineRichard Can you please reopen this. It is still broken for 2.3.2 release
Fix flatdict version pin to allow 4.1.0+ (main) (isaac-sim#5182)
AntoineRichard commentedon Aug 27, 2026
Sorry for the wait, @shileiphys — and thanks for staying with the thread while folks narrowed this down. The root cause was the old
setup.py-based install: theflatdict==4.0.1pin failed to build under setuptools 81+ (itssetup.pyimportspkg_resources), andisaaclab.sh --installswallowed the error, soisaaclabwas never actually installed.That's structurally gone on current releases: per-package
setup.pyfiles were removed in #5785, dependencies consolidated into the centralpyproject.tomlin #6009, andflatdictis no longer a dependency anywhere. Please follow the current installation guide and reopen with a full install log if it recurs.🤖 This issue was reviewed as part of an AI-assisted triage of the Isaac Lab backlog, with automated verification against the current codebase. If we got this wrong, please reopen — we'd rather hear about it!