aimhubio / aim

Aim 💫 — An easy-to-use & supercharged open-source experiment tracker.
https://aimstack.io
Apache License 2.0
4.93k stars 297 forks source link

aim cannot be installed with python 3.12.3 #3159

Open KDanm opened 2 weeks ago

KDanm commented 2 weeks ago

🐛 Bug

aim cannot be installed on python 3.12.3

To reproduce

use "pip3 install aim" on a machine with Python 3.12.3 because "No matching distribution found for aimrocks==0.4.0" full error: ERROR: Could not find a version that satisfies the requirement aimrocks==0.4.0 (from versions: 0.2.0, 0.5.2) ERROR: No matching distribution found for aimrocks==0.4.0 (ultra) danielk@gpu-t4-4:~/project/momentick-train/train$ pip install aim==3.20.1 Collecting aim==3.20.1 Using cached aim-3.20.1.tar.gz (1.6 MB) Installing build dependencies ... error error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Collecting setuptools Using cached setuptools-70.0.0-py3-none-any.whl.metadata (5.9 kB) Collecting cython==3.0.0a11 Using cached Cython-3.0.0a11-py2.py3-none-any.whl.metadata (2.7 kB) ERROR: Could not find a version that satisfies the requirement aimrocks==0.4.0 (from versions: 0.2.0, 0.5.2) ERROR: No matching distribution found for aimrocks==0.4.0 [end of output]

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

Expected behavior

I expected aim to support python 3.12

Environment

Additional context

mihran113 commented 2 weeks ago

Hey @KDanm! Thanks a lot for the report. We've already addressed this and python 3.12 will be supported with the upcoming version of the aim (3.21.0). In the meantime you can use this dev release:

pip install aim==3.21.0.dev3
tatyusha commented 1 week ago

Hey @KDanm! In case you missed, Aim v3.21 is already shipped 🎉 https://github.com/aimhubio/aim/releases/tag/v3.21.0