在安装依赖包时遇到以下报错:
ERROR: Cannot install -r requirements.txt (line 10), -r requirements.txt (line 6), httpx==0.24.1 and ollama==0.2.1 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested httpx==0.24.1
gradio-client 1.0.2 depends on httpx>=0.24.1
openai 1.35.10 depends on httpx<1 and >=0.23.0
ollama 0.2.1 depends on httpx<0.28.0 and >=0.27.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: Cannot install -r requirements.txt (line 10), -r requirements.txt (line 6), httpx==0.24.1 and ollama==0.2.1 because these package versions have conflicting dependencies.
The conflict is caused by: The user requested httpx==0.24.1 gradio-client 1.0.2 depends on httpx>=0.24.1 openai 1.35.10 depends on httpx<1 and >=0.23.0 ollama 0.2.1 depends on httpx<0.28.0 and >=0.27.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