exo icon indicating copy to clipboard operation
exo copied to clipboard

How to solve the installation error "No matching distribution found for mlx==0.22.0"?

Open lightmandavie opened this issue 2 months ago • 5 comments

pip install -e . Obtaining file:///Users/lightman/exo Preparing metadata (setup.py) ... done Collecting aiohttp==3.10.11 (from exo==0.0.1) Using cached aiohttp-3.10.11-cp312-cp312-macosx_11_0_arm64.whl.metadata (7.7 kB) Collecting aiohttp_cors==0.7.0 (from exo==0.0.1) Using cached aiohttp_cors-0.7.0-py3-none-any.whl.metadata (20 kB) Collecting aiofiles==24.1.0 (from exo==0.0.1) Using cached aiofiles-24.1.0-py3-none-any.whl.metadata (10 kB) Collecting grpcio==1.70.0 (from exo==0.0.1) Using cached grpcio-1.70.0-cp312-cp312-macosx_10_14_universal2.whl.metadata (3.9 kB) Collecting grpcio-tools==1.70.0 (from exo==0.0.1) Using cached grpcio_tools-1.70.0-cp312-cp312-macosx_10_14_universal2.whl.metadata (5.3 kB) Requirement already satisfied: Jinja2==3.1.4 in /opt/anaconda3/lib/python3.12/site-packages (from exo==0.0.1) (3.1.4) Collecting numpy==2.0.0 (from exo==0.0.1) Using cached numpy-2.0.0-cp312-cp312-macosx_14_0_arm64.whl.metadata (60 kB) Collecting nuitka==2.5.1 (from exo==0.0.1) Using cached Nuitka-2.5.1.tar.gz (3.8 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting nvidia-ml-py==12.560.30 (from exo==0.0.1) Using cached nvidia_ml_py-12.560.30-py3-none-any.whl.metadata (8.6 kB) Collecting opencv-python==4.10.0.84 (from exo==0.0.1) Using cached opencv_python-4.10.0.84-cp37-abi3-macosx_11_0_arm64.whl.metadata (20 kB) Requirement already satisfied: pillow==10.4.0 in /opt/anaconda3/lib/python3.12/site-packages (from exo==0.0.1) (10.4.0) Collecting prometheus-client==0.20.0 (from exo==0.0.1) Using cached prometheus_client-0.20.0-py3-none-any.whl.metadata (1.8 kB) Collecting protobuf==5.28.1 (from exo==0.0.1) Using cached protobuf-5.28.1-cp38-abi3-macosx_10_9_universal2.whl.metadata (592 bytes) Collecting psutil==6.0.0 (from exo==0.0.1) Using cached psutil-6.0.0-cp38-abi3-macosx_11_0_arm64.whl.metadata (21 kB) Collecting pydantic==2.9.2 (from exo==0.0.1) Using cached pydantic-2.9.2-py3-none-any.whl.metadata (149 kB) Requirement already satisfied: requests==2.32.3 in /opt/anaconda3/lib/python3.12/site-packages (from exo==0.0.1) (2.32.3) Requirement already satisfied: rich==13.7.1 in /opt/anaconda3/lib/python3.12/site-packages (from exo==0.0.1) (13.7.1) Collecting scapy==2.6.1 (from exo==0.0.1) Using cached scapy-2.6.1-py3-none-any.whl.metadata (5.6 kB) Collecting tqdm==4.66.4 (from exo==0.0.1) Using cached tqdm-4.66.4-py3-none-any.whl.metadata (57 kB) Collecting transformers==4.46.3 (from exo==0.0.1) Using cached transformers-4.46.3-py3-none-any.whl.metadata (44 kB) Collecting uuid==1.30 (from exo==0.0.1) Using cached uuid-1.30.tar.gz (5.8 kB) Preparing metadata (setup.py) ... done Collecting uvloop==0.21.0 (from exo==0.0.1) Using cached uvloop-0.21.0-cp312-cp312-macosx_10_13_universal2.whl.metadata (4.9 kB) Collecting tinygrad@ git+https://gitee.com/mirrors/tinygrad.git@ec120ce6b9ce8e4ff4b5692566a683ef240e8bc8 (from exo==0.0.1) Cloning https://gitee.com/mirrors/tinygrad.git (to revision ec120ce6b9ce8e4ff4b5692566a683ef240e8bc8) to /private/var/folders/t4/q08w8vf53l77yc4blgjz74rc0000gn/T/pip-install-pls44hwo/tinygrad_165c6a0ec6ca4f41adb4b060d6f45efb Running command git clone --filter=blob:none --quiet https://gitee.com/mirrors/tinygrad.git /private/var/folders/t4/q08w8vf53l77yc4blgjz74rc0000gn/T/pip-install-pls44hwo/tinygrad_165c6a0ec6ca4f41adb4b060d6f45efb Running command git rev-parse -q --verify 'sha^ec120ce6b9ce8e4ff4b5692566a683ef240e8bc8' Running command git fetch -q https://gitee.com/mirrors/tinygrad.git ec120ce6b9ce8e4ff4b5692566a683ef240e8bc8 Running command git checkout -q ec120ce6b9ce8e4ff4b5692566a683ef240e8bc8 Resolved https://gitee.com/mirrors/tinygrad.git to commit ec120ce6b9ce8e4ff4b5692566a683ef240e8bc8 Preparing metadata (setup.py) ... done INFO: pip is looking at multiple versions of exo to determine which version is compatible with other requirements. This could take a while. ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11 ERROR: Could not find a version that satisfies the requirement mlx==0.22.0 (from exo) (from versions: 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.9, 0.0.10, 0.0.11, 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.1, 0.6.0, 0.7.0, 0.8.1, 0.9.1, 0.10.0, 0.11.1, 0.12.2, 0.13.0, 0.13.1, 0.14.1, 0.15.2, 0.16.3, 0.17.3, 0.18.1, 0.19.3, 0.20.0, 0.21.1, 0.22.1, 0.23.2, 0.24.2, 0.25.2, 0.26.1, 0.26.2, 0.26.3, 0.26.5, 0.27.1, 0.28.0, 0.29.0, 0.29.1, 0.29.2, 0.29.3) ERROR: No matching distribution found for mlx==0.22.0

lightmandavie avatar Oct 21 '25 15:10 lightmandavie

at the same problem :(

chodorenko avatar Oct 22 '25 17:10 chodorenko

I had the same issue - I fixed it by editing setup.py and changing "MLX=0.22.0" to just "MLX." Make sure you have MLX installed and up to date though

elijah-pelton avatar Oct 22 '25 17:10 elijah-pelton

i have a fix for it

git clone https://github.com/exo-explore/exo.git
cd exo
sed -i '.bak' 's|mlx==0.22.0|mlx==0.22.1|g' setup.py
pip install -e .
# alternatively, with venv
source install.sh

Unfortunately, this doesn’t help Exo run faster or more stable, even in Thunderbolt network I don’t see 100% GPU utilization, and everything is still running very slowly.

chodorenko avatar Oct 22 '25 23:10 chodorenko

Thank you. That's all right.

lightmandavie avatar Oct 23 '25 09:10 lightmandavie

you can use 0.22.1

realamd avatar Nov 19 '25 23:11 realamd

Fixed in 1.0

Evanev7 avatar Dec 18 '25 14:12 Evanev7