dnspython>=1.15, but you'll have dnspython 1.12.0 which is incompatible

本文提供了一种解决在安装Advince过程中遇到依赖包报错的方法,通过使用sudo pip install --ignore-installed加模块名的命令,强制升级冲突的依赖包,从而避免了安装过程中的错误。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

问题情境:
    我是在安装advince的时候,报错的

解决方案:
    强制升级报错的依赖包
    sudo pip install --ignore-installed +模块名

 

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. tensorboard 2.12.1 requires google-auth-oauthlib<1.1,>=0.5, but you have google-auth-oauthlib 0.4.6 which is incompatible. tensorboard 2.12.1 requires tensorboard-data-server<0.8.0,>=0.7.0, but you have tensorboard-data-server 0.6.1 which is incompatible. tensorflow 2.4.1 requires absl-py~=0.10, but you have absl-py 2.1.0 which is incompatible. tensorflow 2.4.1 requires flatbuffers~=1.12.0, but you have flatbuffers 24.3.25 which is incompatible. tensorflow 2.4.1 requires gast==0.3.3, but you have gast 0.4.0 which is incompatible. tensorflow 2.4.1 requires grpcio~=1.32.0, but you have grpcio 1.62.2 which is incompatible. tensorflow 2.4.1 requires numpy~=1.19.2, but you have numpy 1.23.5 which is incompatible. tensorflow 2.4.1 requires six~=1.15.0, but you have six 1.16.0 which is incompatible. tensorflow 2.4.1 requires tensorflow-estimator<2.5.0,>=2.4.0, but you have tensorflow-estimator 2.6.0 which is incompatible. tensorflow 2.4.1 requires termcolor~=1.1.0, but you have termcolor 2.1.0 which is incompatible. tensorflow 2.4.1 requires typing-extensions~=3.7.4, but you have typing-extensions 4.1.1 which is incompatible. tensorflow 2.4.1 requires wrapt~=1.12.1, but you have wrapt 1.14.1 which is incompatible. wandb 0.19.7 requires typing-extensions<5,>=4.4; python_version < "3.12", but you have typing-extensions 4.1.1 which is incompatible.
最新发布
03-10
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值