在raspbian伸展上的CMake安装问题

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

我有一些麻烦安装在覆盆子pi 3运行raspbian拉伸CMake。

我运行命令时不断收到此错误消息

sudo apt-get install build-essential cmake pkg-config

错误消息:

> " Reading package lists... Done  Building dependency tree Reading
> state information... Done  Package CMake is not available, but is
> referred to by another package. This may mean that the package is
> missing, has been obsoleted, or  is only available from another source
> 
> E: Package 'cmake' has no installation candidate "

我尝试过其他安装方法,如“pip install cmake”和“sudo apt-get install -y cmake”,但都无济于事。你能帮助我吗?有可以从中提取的图书馆吗?

先感谢您。

我在树莓派3上运行rasprane stretch 2018-03-13。

python opencv cmake raspberry-pi raspberry-pi3
1个回答
0
投票

跑:

sudo apt-get update

然后运行:

sudo apt-get install build-essential cmake pkg-config
© www.soinside.com 2019 - 2024. All rights reserved.