Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
oftavira opened this issue Sep 26, 2024 · 6 comments

Comments

@oftavira
Copy link

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
Copy link

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
Copy link

moriartynz commented Oct 9, 2024

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]

@artpani4
Copy link

same

@Provemj
Copy link

Provemj commented Nov 3, 2024

first, check your Python version if it is truly 3.10, then just try installing trition manually

@LukeLIN-web
Copy link

It can work for me #423 (comment)

@LukeLIN-web
Copy link

conda activate pytorch_env
pip install fire omegaconf rembg pytorch_lightning kornia invisible-watermark
pip install git+https://github.com/openai/CLIP.git
pip install open_clip_torch
pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu121

pip3 install -r requirements/pt2.txt
huggingface download stabilityai/stable-video-diffusion-img2vid
python scripts/sampling/simple_video_sample.py

Provide a install script
But this repo is decrpeated and no one maintain it, I suggest to use diffusers lib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants