openvinotoolkit / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
290 stars 45 forks source link

[Bug]: requirements.txt has conflicting hardcoded transformers versions #69

Closed 0x33taji closed 1 year ago

0x33taji commented 1 year ago

Is there an existing issue for this?

What happened?

Please purge the entry transformers==4.30.0 and commit. Two conflicting versions are present in the requirements.txt file. It has been an oversight.

Steps to reproduce the problem

git clone <this repo>
cd <this repo>
./webui.sh # it will hang at Installing requirements after Installing requirements for CodeFormer
^C
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Checked in fresh install of debian-testing VM.

What should have happened?

./webui.sh should just work.

Sysinfo

not required

What browsers do you use to access the UI ?

No response

Console logs

ERROR: Cannot install transformers==4.30.0 and transformers==4.30.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested transformers==4.30.0
    The user requested transformers==4.30.2

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Additional information

No response

qiacheng commented 1 year ago

thanks for catching, it's updated now