【已解决】安装RKNN-toolkit2 2.0.0报错ERROR: No matching distribution found for xxxx库

我用清华源进行pip安装,提示缺少tf库,

ERROR: Ignored the following versions that require a different python version: 0.14 Requires-Python >=3.9; 2.14.1 Requires-Python >=3.9; 2.15.0 Requires-Python >=3.9; 2.15.1 Requires-Python >=3.9; 2.15.2 Requires-Python >=3.9; 2.16.0 Requires-Python >=3.9; 2.16.1 Requires-Python >=3.9; 2.16.2 Requires-Python >=3.9; 2.17.0 Requires-Python >=3.9
ERROR: Could not find a version that satisfies the requirement tf-estimator-nightly==2.8.0.dev2021122109 (from tensorflow) (from versions: none)
ERROR: No matching distribution found for tf-estimator-nightly==2.8.0.dev2021122109

见下图:

换了其他什么腾讯、百度都解决不了,最后发现华为源可以,困扰了一晚上,huawei yyds!

用下面命令直接安装

pip install -r requirements_cp38-2.0.0b0.txt -i https://repo.huaweicloud.com/repository/pypi/simple/

安装成功,提示的红字可以忽略,或者自己手动安装红字提示缺少的库

先打开python,再输入:

from rknn.api import RKNN

安装测试成功

  • 8
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值