Text2Video-Zero icon indicating copy to clipboard operation
Text2Video-Zero copied to clipboard

install requirements.txt error

Open hemintang opened this issue 2 years ago • 4 comments

Error reported when I executed:pip install -r requirements.txt error message: ERROR: Could not find a version that satisfies the requirement decord==0.6.0 (from versions: none) ERROR: No matching distribution found for decord==0.6.0

I am sure my python version is 3.9 I'm trying to switch pip sources,but it didn't work either

what should i do,thank

hemintang avatar Mar 30 '23 02:03 hemintang

https://docs.conda.io/en/latest/miniconda.html this is pretty good -

conda create -n T2V python=3.9 conda activate T2V conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia conda install ffmpeg pip install dlib-bin pip install -r requirements.txt

use my updated requirements.txt https://github.com/Picsart-AI-Research/Text2Video-Zero/blob/37be6c43ae52d7ce1d789ad6a40935c23f51c4bd/requirements.txt

johndpope avatar Mar 30 '23 02:03 johndpope

Thank you, but unfortunately, the problem has not been resolved 1、I use conda,make sure my python version is 3.9

2、I executed the following commands and succeeded conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia conda install ffmpeg pip install dlib-bin

3、I follow you suggest updated requirements.txt: https://github.com/Picsart-AI-Research/Text2Video-Zero/blob/37be6c43ae52d7ce1d789ad6a40935c23f51c4bd/requirements.txt 

4、I still reported an error when executing the command:pip install -r requirements.txt

------------------ Original ------------------ From: @.>; Date:  Thu, Mar 30, 2023 10:57 AM To: @.>; Cc: @.>; @.>; Subject:  Re: [Picsart-AI-Research/Text2Video-Zero] install requirements.txt error (Issue #21)

 

https://docs.conda.io/en/latest/miniconda.html this is pretty good -

conda create -n T2V python=3.9 conda activate T2V conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia conda install ffmpeg pip install dlib-bin pip install -r requirements.txt

use my updated requirements.txt https://github.com/Picsart-AI-Research/Text2Video-Zero/blob/37be6c43ae52d7ce1d789ad6a40935c23f51c4bd/requirements.txt

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

hemintang avatar Mar 30 '23 03:03 hemintang

try commenting out decord==0.6.0 in requirements.txt and then pip install decord pip install -r requirements.txt

johndpope avatar Mar 30 '23 03:03 johndpope

try using this:

pip install -i https://pypi.org/simple -r requirements.txt

It worked for me.

Merci93 avatar May 22 '23 17:05 Merci93