升级python2.6到2.7后,执行ansible后一直显示警告,如标题所示。

因为安装ansible,使用的是yum的方式,而yum使用的是python2.6,所以ansible安装环境为python2.7

解决方式:

卸载安装的ansible,使用pip(python2.7)重新安装ansible即可

相关文章:

  • 2021-06-17
  • 2022-12-23
  • 2021-10-17
  • 2021-07-31
  • 2021-06-28
  • 2022-12-23
  • 2021-11-24
  • 2022-03-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
  • 2022-12-23
  • 2021-05-25
  • 2021-07-21
相关资源
相似解决方案