gpt4 book ai didi

linux - Libcamera 构建的 Meson 安装失败

转载 作者:行者123 更新时间:2023-12-04 19:29:48 26 4
gpt4 key购买 nike

我在构建时遇到了一些问题 libcamera进入我的 Ubuntu 机器。
我正在关注 instructions ,但在 ninja -C build install 期间失败
这是错误:

felipe# ninja -C build install
ninja: Entering directory `build'
[1/2] Installing files.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 129, in run
return options.run_func(options)
File "/usr/lib/python3/dist-packages/mesonbuild/minstall.py", line 514, in run
installer.do_install(datafilename)
File "/usr/lib/python3/dist-packages/mesonbuild/minstall.py", line 330, in do_install
d = pickle.load(ifile)
AttributeError: Can't get attribute 'OctalInt' on <module 'mesonbuild.coredata' from '/usr/lib/python3/dist-packages/mesonbuild/coredata.py'>
FAILED: meson-install
/home/felipe/.local/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
不知道如何从这里开始。
我已经尝试更新所有内容,甚至删除并重新安装 meson但它没有用。

最佳答案

看起来您可能面临说明末尾所描述的内容(您的 link ) - 您有不同版本的系统和本地介子安装,所以

If a version of meson which is different from the system-wide versionis already installed, uninstall that meson using pip3, and installagain without the --user argument.


最后(在写作时)我发现我的怀疑得到了证实 here .

关于linux - Libcamera 构建的 Meson 安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67739333/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com