exo icon indicating copy to clipboard operation
exo copied to clipboard

Cannot install packages using Python 3.13.0

Open cadenmackenzie opened this issue 1 year ago • 3 comments

Using Python 3.13.0 on Mac M1

Running source install.sh results in these errors:

cadenmackenzie@Caden-Macbook-Pro-14 exo % source install.sh Obtaining file:///Users/cadenmackenzie/Documents/Development.nosync/exo/exo Installing build dependencies ... done Checking if build backend supports build_editable ... done Getting requirements to build editable ... done Preparing editable metadata (pyproject.toml) ... done Collecting tinygrad@ git+https://github.com/tinygrad/tinygrad.git@232edcfd4f8b388807c64fb1817a7668ce27cbad (from exo==0.0.1) Using cached tinygrad-0.9.2-py3-none-any.whl Collecting aiohttp==3.10.2 (from exo==0.0.1) Using cached aiohttp-3.10.2-cp313-cp313-macosx_15_0_arm64.whl 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.64.1 (from exo==0.0.1) Using cached grpcio-1.64.1.tar.gz (12.2 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting grpcio-tools==1.64.1 (from exo==0.0.1) Using cached grpcio_tools-1.64.1.tar.gz (5.0 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting Jinja2==3.1.4 (from exo==0.0.1) Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB) Collecting netifaces==0.11.0 (from exo==0.0.1) Using cached netifaces-0.11.0-cp313-cp313-macosx_15_0_arm64.whl Collecting numpy==2.0.0 (from exo==0.0.1) Using cached numpy-2.0.0-cp313-cp313-macosx_15_0_arm64.whl 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 pillow==10.4.0 (from exo==0.0.1) Using cached pillow-10.4.0-cp313-cp313-macosx_11_0_arm64.whl.metadata (9.2 kB) 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.27.1 (from exo==0.0.1) Using cached protobuf-5.27.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) Collecting requests==2.32.3 (from exo==0.0.1) Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB) Collecting rich==13.7.1 (from exo==0.0.1) Using cached rich-13.7.1-py3-none-any.whl.metadata (18 kB) Collecting safetensors==0.4.3 (from exo==0.0.1) Using cached safetensors-0.4.3.tar.gz (69 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [6 lines of output]

  Cargo, the Rust package manager, is not installed or is not on PATH.
  This package requires Rust and Cargo to compile extensions. Install it through
  the system's package manager or via https://rustup.rs/
  
  Checking for Rust toolchain....
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip is available: 24.2 -> 24.3.1 [notice] To update, run: pip install --upgrade pip error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

cadenmackenzie avatar Nov 12 '24 22:11 cadenmackenzie

I did try to install Rust:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

However, that led to even more issues when running install.sh. Has anyone else experienced this?

cadenmackenzie avatar Nov 12 '24 22:11 cadenmackenzie

Created PR to explicitly set Python version: https://github.com/exo-explore/exo/pull/445

cadenmackenzie avatar Nov 12 '24 22:11 cadenmackenzie

Can confirm, saw the same troubles:-)

FlorianHeigl avatar Nov 13 '24 14:11 FlorianHeigl

Fixed in 1.0

rltakashige avatar Dec 18 '25 17:12 rltakashige