[Python] Getting stuck on building wheels when installing MJX

Discussão em 'Python' iniciado por Stack, Junho 11, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to install MJX after installing Mujoco on my Mac, but it keeps getting stuck at building wheels for the project, it just gets stuck every time. I've tried on different python versions too and nothing works.

    Collecting mjx
    Using cached mjx-0.1.0.tar.gz (354 kB)
    Installing build dependencies ... done
    Getting requirements to build wheel ... done
    Preparing metadata (pyproject.toml) ... done
    Collecting google==3.0.0 (from mjx)
    Using cached google-3.0.0-py2.py3-none-any.whl.metadata (627 bytes)
    Collecting protobuf==3.17.3 (from mjx)
    Using cached protobuf-3.17.3-py2.py3-none-any.whl.metadata (858 bytes)
    Collecting grpcio==1.39.0 (from mjx)
    Using cached grpcio-1.39.0.tar.gz (21.3 MB)
    Preparing metadata (setup.py) ... done
    Collecting numpy (from mjx)
    Downloading numpy-2.2.6-cp310-cp310-macosx_14_0_arm64.whl.metadata (62 kB)
    Collecting pillow (from mjx)
    Downloading pillow-11.2.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (8.9 kB)
    Collecting svgwrite (from mjx)
    Using cached svgwrite-1.4.3-py3-none-any.whl.metadata (8.8 kB)
    Collecting inquirer (from mjx)
    Using cached inquirer-3.4.0-py3-none-any.whl.metadata (6.8 kB)
    Collecting beautifulsoup4 (from google==3.0.0->mjx)
    Using cached beautifulsoup4-4.13.4-py3-none-any.whl.metadata (3.8 kB)
    Collecting six>=1.5.2 (from grpcio==1.39.0->mjx)
    Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
    Collecting soupsieve>1.2 (from beautifulsoup4->google==3.0.0->mjx)
    Using cached soupsieve-2.7-py3-none-any.whl.metadata (4.6 kB)
    Collecting typing-extensions>=4.0.0 (from beautifulsoup4->google==3.0.0->mjx)
    Using cached typing_extensions-4.14.0-py3-none-any.whl.metadata (3.0 kB)
    Collecting blessed>=1.19.0 (from inquirer->mjx)
    Using cached blessed-1.21.0-py2.py3-none-any.whl.metadata (13 kB)
    Collecting editor>=1.6.0 (from inquirer->mjx)
    Using cached editor-1.6.6-py3-none-any.whl.metadata (2.3 kB)
    Collecting readchar>=4.2.0 (from inquirer->mjx)
    Using cached readchar-4.2.1-py3-none-any.whl.metadata (7.5 kB)
    Collecting wcwidth>=0.1.4 (from blessed>=1.19.0->inquirer->mjx)
    Using cached wcwidth-0.2.13-py2.py3-none-any.whl.metadata (14 kB)
    Collecting runs (from editor>=1.6.0->inquirer->mjx)
    Using cached runs-1.2.2-py3-none-any.whl.metadata (10 kB)
    Collecting xmod (from editor>=1.6.0->inquirer->mjx)
    Using cached xmod-1.8.1-py3-none-any.whl.metadata (1.8 kB)
    Using cached google-3.0.0-py2.py3-none-any.whl (45 kB)
    Using cached protobuf-3.17.3-py2.py3-none-any.whl (173 kB)
    Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
    Using cached beautifulsoup4-4.13.4-py3-none-any.whl (187 kB)
    Using cached soupsieve-2.7-py3-none-any.whl (36 kB)
    Using cached typing_extensions-4.14.0-py3-none-any.whl (43 kB)
    Using cached inquirer-3.4.0-py3-none-any.whl (18 kB)
    Using cached blessed-1.21.0-py2.py3-none-any.whl (84 kB)
    Using cached editor-1.6.6-py3-none-any.whl (4.0 kB)
    Using cached readchar-4.2.1-py3-none-any.whl (9.3 kB)
    Using cached wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
    Downloading numpy-2.2.6-cp310-cp310-macosx_14_0_arm64.whl (5.3 MB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 12.1 MB/s eta 0:00:00
    Downloading pillow-11.2.1-cp310-cp310-macosx_11_0_arm64.whl (3.0 MB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 11.1 MB/s eta 0:00:00
    Using cached runs-1.2.2-py3-none-any.whl (7.0 kB)
    Using cached svgwrite-1.4.3-py3-none-any.whl (67 kB)
    Using cached xmod-1.8.1-py3-none-any.whl (4.6 kB)
    Building wheels for collected packages: mjx, grpcio
    Building wheel for mjx (pyproject.toml) ... -



    I tried on Python 3.12 and Python 3.10, neither of which worked. I made sure my Xcode was updated but that didn't make a difference either. Can I install mujoco-mjx and will that include both?

    Continue reading...

Compartilhe esta Página