python - 在 Ubuntu 18.04 中安装图形工具时出错
问题描述
我按照网站上的安装说明进行操作:
https://git.skewed.de/count0/graph-tool/-/wikis/installation-instructions
用于在 Ubuntu 18.04 上安装图形工具,但是当我在终端中编写“sudo apt-get install python3-graph-tool”时,它给了我以下错误:
阅读包裹清单...完成
构建依赖树
读取状态信息...完成
某些软件包无法安装。这可能意味着您请求了一种不可能的情况,或者如果您使用的是不稳定的发行版,一些必需的软件包尚未创建或已从 Incoming 中移出。
以下信息可能有助于解决这种情况:
以下包具有未满足的依赖项:
python3-graph-tool :取决于:libboost-context1.67.0 但它不可安装
Depends: libboost-iostreams1.67.0 but it is not installable
Depends: libboost-python1.67.0 but it is not installable
Depends: libboost-python1.67.0-py38 but it is not installable
Depends: libboost-regex1.67.0-icu63 but it is not installable
Depends: libc6 (>= 2.29) but 2.27-3ubuntu1 is to be installed
Depends: libgcc-s1 (>= 3.4) but it is not installable
Depends: libgomp1 (>= 9) but 8.4.0-1ubuntu1~18.04 is to be installed
Depends: libstdc++6 (>= 9) but 8.4.0-1ubuntu1~18.04 is to be installed
E: 无法纠正问题,您持有破损的包裹。
有谁知道我该如何解决?
解决方案
尝试改变分布
deb [arch=amd64] https://downloads.skewed.de/apt分布主要
页面上的选项(bullseye、buster、sid、bionic、eoan、focal、groovy)中,只有“focal”对我有用。
推荐阅读
- javascript - 渲染前获取数据 [React Native]
- php - 在博客存档页面上显示 ACF
- android-studio - Android Studio可以用aosp模拟器调试吗
- excel - Excel:按范围内的单元格计算多个字符
- react-native - OnPress 不起作用 React Native - Android
- python - pygame 没有显示任何内容,直到我关闭它
- laravel - laravel 6 Route在添加本地化后不起作用
- xamarin - 是 Xamarin Forms 中的 OnSleep 和 OnResume 虚拟方法吗
- unit-testing - 如何模拟 web api 进行测试
- tensorflow - 分段错误 Tensorflow Lite