aim icon indicating copy to clipboard operation
aim copied to clipboard

aim cannot be installed with python 3.12.3

Open KDanm opened this issue 1 year ago • 12 comments

🐛 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

  • Aim Version (e.g., 3.0.1)
  • Python version 3.12
  • pip version pip 24.0
  • OS (e.g., Linux) Debian
  • Any other relevant information

Additional context

KDanm avatar Jun 09 '24 08:06 KDanm

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

mihran113 avatar Jun 12 '24 09:06 mihran113

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

tatyusha avatar Jun 19 '24 13:06 tatyusha

@tatyusha still exists use "pip3 install aim==3.24.0" on a machine with Python 3.12.5 because "No matching distribution found for aimrocks==0.5.0" full error: ERROR: Could not find a version that satisfies the requirement aimrocks==0.5.* (from versions: 0.2.0) ERROR: No matching distribution found for aimrocks==0.5.*

ywlmiysm avatar Aug 29 '24 16:08 ywlmiysm

Hey @tatyusha still exists use "pip3 install aim==3.24.0" on a machine with Python 3.12.5 because "No matching distribution found for aimrocks==0.5.0" full error: ERROR: Could not find a version that satisfies the requirement aimrocks==0.5.* (from versions: 0.2.0) ERROR: No matching distribution found for aimrocks==0.5.*

ywlmiysm avatar Aug 29 '24 16:08 ywlmiysm

Hey @ywlmiysm! Thanks for reaching out, could you please share the OS version of your machine?

mihran113 avatar Aug 29 '24 20:08 mihran113

Hi @mihran113, having same error!!

_Collecting aim-mlflow Using cached aim_mlflow-0.2.1-py3-none-any.whl.metadata (3.4 kB) Collecting aim (from aim-mlflow) Using cached aim-3.24.0.tar.gz (1.7 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-75.1.0-py3-none-any.whl.metadata (6.9 kB) Collecting cython==3.0.10 Using cached Cython-3.0.10-cp312-cp312-win_amd64.whl.metadata (3.2 kB) ERROR: Could not find a version that satisfies the requirement aimrocks==0.5.* (from versions: 0.2.0) ERROR: No matching distribution found for aimrocks==0.5.* [end of output]_

python version - 3.12.6

ayushrjc avatar Sep 23 '24 20:09 ayushrjc

Hey @mihran113. I have the same issue. python == 3.12.7

Collecting aim==3.25.0 (from -r requirements.txt (line 1)) Downloading aim-3.25.0.tar.gz (1.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 4.9 MB/s eta 0:00:00 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-75.1.0-py3-none-any.whl.metadata (6.9 kB) Collecting cython==3.0.10 Downloading Cython-3.0.10-cp312-cp312-win_amd64.whl.metadata (3.2 kB) ERROR: Could not find a version that satisfies the requirement aimrocks==0.5.* (from versions: 0.2.0) ERROR: No matching distribution found for aimrocks==0.5.* [end of output]

ryanJigo avatar Oct 14 '24 04:10 ryanJigo

Hey @ywlmiysm! Thanks for reaching out, could you please share the OS version of your machine?

Windows 11 Home

(.venv) PS F:\ai\Transformer-from-scratch> pip install aim -i https://mirrors.aliyun.com/pypi/simple/
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/ Collecting aim Downloading https://mirrors.aliyun.com/pypi/packages/2a/90/9ce775b09addb233ca199aa28d41fadedac57f9691bb688b30894356e6be/aim-3.25.0.tar.gz (1.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 8.1 MB/s eta 0:00:00 Installing build dependencies ... error error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Looking in indexes: https://mirrors.aliyun.com/pypi/simple/ Collecting setuptools Using cached https://mirrors.aliyun.com/pypi/packages/ff/ae/f19306b5a221f6a436d8f2238d5b80925004093fa3edea59835b514d9057/setuptools-75.1.0-py3-none-any.whl (1.2 MB) Collecting cython==3.0.10 Downloading https://mirrors.aliyun.com/pypi/packages/2f/59/6669edfd1fad83ee18d698b897f25871b5296e258f74964a003d50d003fe/Cython-3.0.10-cp312-cp312-win_amd64.whl (2.8 MB) ---------------------------------------- 2.8/2.8 MB 8.1 MB/s eta 0:00:00 ERROR: Could not find a version that satisfies the requirement aimrocks==0.5.* (from versions: 0.2.0) ERROR: No matching distribution found for aimrocks==0.5.* [end of output]

ywlmiysm avatar Oct 15 '24 10:10 ywlmiysm

Facing the same issue on MacOS with Python 3.13.1

$ python3 -m pip install aim
Collecting aim
  Using cached aim-3.26.1.tar.gz (1.7 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-75.6.0-py3-none-any.whl.metadata (6.7 kB)
      Collecting cython==3.0.10
        Using cached Cython-3.0.10-py2.py3-none-any.whl.metadata (3.2 kB)
      ERROR: Could not find a version that satisfies the requirement aimrocks==0.5.* (from versions: 0.2.0)
      ERROR: No matching distribution found for aimrocks==0.5.*
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

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

HarikrishnanBalagopal avatar Dec 16 '24 06:12 HarikrishnanBalagopal

Hey @HarikrishnanBalagopal! Sorry, we don't have support for python 13 added yet. Will ping here, once added :)

mihran113 avatar Dec 16 '24 22:12 mihran113

@ayushrjc @ryanJigo Sorry for the late response, I've somehow lost track of this issue. Could you please specify the OS version you are using? Because we have wheels for aimrocks for python 3.12 and for multiple linux and OSX versions. And apparently it can't find the aimrocks release for the environments so the answer to this question would help me to understand what's causing the issue.

mihran113 avatar Dec 16 '24 22:12 mihran113

Hey @ywlmiysm. Sorry, but we don't have support for windows devices unfortunately.

mihran113 avatar Dec 16 '24 22:12 mihran113