[英]ERROR: typer 0.3.2 has requirement click<7.2.0,>=7.1.1, but you'll have click 8.0.3 which is incompatible
I have requirements.txt file to install python packages我有 requirements.txt 文件来安装 python 包
While I do RUN pip3 install --no-cache-dir -r requirements.txt
in Dockerfile I am getting above error当我在 Dockerfile 中
RUN pip3 install --no-cache-dir -r requirements.txt
时,我遇到了错误
Can anyone explain what it is telling谁能解释它在说什么
fastapi==0.68.2
uvicorn==0.15.0
nltk==3.6.2
pydantic>=1.2.0,<2.0.0
requests==2.26.0
dill==0.3.4
numpy==1.19.5
spacy==3.1.0
torch==1.9.0
transformers==4.11.3
sentence-splitter==1.4
gunicorn==20.0.4
Typer is known as FastAPI of CLIs .
Typer 被称为 CLI 的FastAPI 。
Typer stands on the shoulders of a giant.
Typer 站在巨人的肩膀上。 Its only internal dependency is Click
它唯一的内部依赖是Click
fastapi
, it's also installing those dependencies as per requirement.fastapi
时,它还会根据要求安装这些依赖项。 So to resolve this ERROR: typer 0.3.2 has requirement click<7.2.0,>=7.1.1, but you'll have click 8.0.3 which is incompatible
, you can try either of the following ways:所以要解决这个
ERROR: typer 0.3.2 has requirement click<7.2.0,>=7.1.1, but you'll have click 8.0.3 which is incompatible
,你可以尝试以下任一方法:
pip install click==7.2.0
pip install click==7.2.0
OR或者
pip install typer=0.4.0
pip install typer=0.4.0
You can refer to incompatible click version and typer 0.3.2 has requirement click<7.2.0,>=7.1.1, but you have click 8.0.1你可以参考不兼容的click版本和typer 0.3.2有要求click<7.2.0,>=7.1.1,但是你有click 8.0.1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.