Stability-AI / generative-models

Generative Models by Stability AI
MIT License
24.31k stars 2.71k forks source link

Error when trying to install "pip install -r requirements/pt2.txt" in python 3.10.11 #414

Open oftavira opened 2 weeks ago

oftavira commented 2 weeks ago

I installed python 3.10.11, after cloning the repo I did "..pt2\scripts\activate" and then "pip install -r requirements/pt2.txt" resulting in an error that saying that the python version is incompatible and some packages could not be installed. Thanks for your answer/comments.

Captura de pantalla (31)

torsteli commented 1 week ago

I have exactly the same problem on a MAC OS 14.7. I tried with python 3.10.6 and 3.10.9, and 3.9.13.

moriartynz commented 1 day ago

I have the same issue here in Arch Linux running Python 3.12.6:

Collecting transformers==4.19.1 (from -r requirements/pt2.txt (line 34)) Downloading transformers-4.19.1-py3-none-any.whl.metadata (73 kB) ERROR: Ignored the following versions that require a different python version: 0.55.2 Requires-Python <3.5; 1.10.0 Requires-Python <3.12,>=3.8; 1.10.0rc1 Requires-Python <3.12,>=3.8; 1.10.0rc2 Requires-Python <3.12,>=3.8; 1.10.1 Requires-Python <3.12,>=3.8; 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; 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10; 1.7.2 Requires-Python >=3.7,<3.11; 1.7.3 Requires-Python >=3.7,<3.11; 1.8.0 Requires-Python >=3.8,<3.11; 1.8.0rc1 Requires-Python >=3.8,<3.11; 1.8.0rc2 Requires-Python >=3.8,<3.11; 1.8.0rc3 Requires-Python >=3.8,<3.11; 1.8.0rc4 Requires-Python >=3.8,<3.11; 1.8.1 Requires-Python >=3.8,<3.11; 1.9.0 Requires-Python >=3.8,<3.12; 1.9.0rc1 Requires-Python >=3.8,<3.12; 1.9.0rc2 Requires-Python >=3.8,<3.12; 1.9.0rc3 Requires-Python >=3.8,<3.12; 1.9.1 Requires-Python >=3.8,<3.12; 2.0.28 Requires-Python >3.7, <3.11; 2.0.29 Requires-Python >3.7, <3.11; 2.0.30 Requires-Python >3.7, <3.11; 2.0.31 Requires-Python >3.7, <3.11; 2.0.32 Requires-Python >3.7, <3.11; 2.0.33 Requires-Python >3.7, <3.11; 2.0.34 Requires-Python >3.7, <3.11; 2.0.35 Requires-Python >3.7, <3.11; 2.0.36 Requires-Python >3.7, <3.11; 2.0.37 Requires-Python >3.7, <3.11; 2.0.38 Requires-Python >3.7, <3.11; 2.0.39 Requires-Python >3.7, <3.11; 2.0.40 Requires-Python >3.7, <3.11; 2.0.41 Requires-Python >=3.8, <3.12; 2.0.43 Requires-Python >=3.8, <3.12; 2.0.44 Requires-Python >=3.8, <3.12; 2.0.45 Requires-Python >=3.8, <3.12; 2.0.46 Requires-Python >=3.8, <3.12; 2.0.47 Requires-Python >=3.8, <3.12; 2.0.48 Requires-Python >=3.8, <3.12; 2.0.49 Requires-Python >=3.8, <3.12; 2.0.50 Requires-Python >=3.8, <3.12; 2.0.51 Requires-Python >=3.8, <3.12; 2.0.52 Requires-Python >=3.8, <3.12; 2.0.53 Requires-Python >=3.8, <3.12; 2.0.54 Requires-Python >=3.8, <3.12 ERROR: Could not find a version that satisfies the requirement triton==2.0.0 (from versions: 2.2.0, 2.3.0, 2.3.1, 3.0.0) ERROR: No matching distribution found for triton==2.0.0 [ble: exit 1]