dimensionalOS / dimensionalOS/dimos

NumPy and Numba dependency incompatibility

Open Beginner friendly
#3,898 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
4.5k
Forks
808
Avg merge
3d 5h
Merged PRs (30d)
233

Description

Description

Running the G1 simulation fails because DimOS installs incompatible dependency versions.

Environment

  • Ubuntu 24.04
  • Python 3.12.3
  • DimOS commit: ea1cc9d39

Steps to reproduce

uv run dimos run unitree-g1-basic-sim

Errors

The installed MuJoCo and MJX versions are incompatible:

mujoco==3.10.0
mujoco-mjx==3.5.0

This causes:

AttributeError: type object 'mujoco._enums.mjtEnableBit'
has no attribute 'mjENBL_MULTICCD'

After aligning both to 3.5.0, NumPy and Numba are also incompatible:

ImportError: Numba needs NumPy 2.3 or less. Got NumPy 2.5.

DimOS currently overrides NumPy with:

"numpy>=2",

which allows an unsupported NumPy version.

Expected behavior

Installing the simulation dependencies should produce compatible versions and allow unitree-g1-basic-sim to start.

Suggested fix

"numpy>=2,<2.4",

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the dependency configuration for the current "numpy>=2" override and inspect the simulation dependency entries around it. Run uv run dimos run unitree-g1-basic-sim before and after the dependency change; done means the compatible MuJoCo, MJX, NumPy, and Numba versions install and the G1 simulation starts without the reported errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
build-system, robotics
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
84/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.