小编use*_*049的帖子

由于 python 依赖于 Ubuntu 18.04,无法安装 ansible

我正在尝试在我的 Ubuntu 18.04 上安装 ansible,这会引发 python 依赖错误。我了解机器上默认安装的版本是3.x+。根据以下日志结果,depends 请求 python 版本为 2.x,即 2.7,请建议我一个更好的选择来安装 ansible 或降级 python 版本。

pawan@ubuntu:~/Devops$ sudo apt install -f ansible
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the …
Run Code Online (Sandbox Code Playgroud)

python ansible devops

8
推荐指数
1
解决办法
3713
查看次数

标签 统计

ansible ×1

devops ×1

python ×1