raspberrypi 和 opencv,缺少 libhdf5-103

问题描述 投票:0回答:1

我正在尝试在raspberrypi 4中安装opencv。操作系统是raspbiam。

/etc/apt/source.list.d/raspi.list
的内容是:

deb http://archive.raspberrypi.org/debian/ buster main

当我尝试此搜索时:

pi@raspberrypi:~ $ sudo apt-cache search libhdf5-103

我得到:

libhdf5-103 - Hierarchical Data Format 5 (HDF5) - runtime files - serial version

如果我理解的话,这个结果告诉我们libhdf5-103在里面。 但是,当我尝试使用

sudo apt-get install libhdf5-103
安装它时:

我得到:

Err :1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libhdf5-103 armhf 1.10.4+repack-10 404  Not Found

我已经正确安装了其他库,但 libhdf5-103 是不可能的。有什么想法吗?

opencv raspberry-pi raspberry-pi4
1个回答
0
投票

我找到了一个可能的解决方案: 我已经使用另一个镜像更改了 raspi.list 文件:

deb http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian buster main

看来现在lib已经正确安装了....

© www.soinside.com 2019 - 2024. All rights reserved.