Following description:
Start
install styleshot
git clone https://github.com/Jeoyal/StyleShot.git
cd StyleShot
create conda env
conda create -n styleshot python==3.8
conda activate styleshot
pip install -r requirements.txt
Error message:
Collecting typer<1.0,>=0.12 (from gradio==4.37.2->-r requirements.txt (line 11))
Using cached typer-0.16.0-py3-none-any.whl.metadata (15 kB)
INFO: pip is looking at multiple versions of gradio to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 10) and -r requirements.txt (line 11) because these package versions have conflicting dependencies.
The conflict is caused by:
botocore 1.34.139 depends on urllib3<1.27 and >=1.25.4; python_version < "3.10"
gradio 4.37.2 depends on urllib3~=2.0
To fix this you could try to:
- loosen the range of package versions you've specified
- remove package versions to allow pip to attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
My System:
Ubuntu 24.04 Lts
Following description:
Start
install styleshot
git clone https://github.com/Jeoyal/StyleShot.git
cd StyleShot
create conda env
conda create -n styleshot python==3.8
conda activate styleshot
pip install -r requirements.txt
Error message:
Collecting typer<1.0,>=0.12 (from gradio==4.37.2->-r requirements.txt (line 11))
Using cached typer-0.16.0-py3-none-any.whl.metadata (15 kB)
INFO: pip is looking at multiple versions of gradio to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 10) and -r requirements.txt (line 11) because these package versions have conflicting dependencies.
The conflict is caused by:
botocore 1.34.139 depends on urllib3<1.27 and >=1.25.4; python_version < "3.10"
gradio 4.37.2 depends on urllib3~=2.0
To fix this you could try to:
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
My System:
Ubuntu 24.04 Lts