ImportError: No Module named yaml | Ansible

后端 未结 7 1946
隐瞒了意图╮
隐瞒了意图╮ 2021-01-01 13:30

Computer: MacBook Pro mid 2012, running El Capitan 10.11.4

Python version 2.7.10

I\'ve been trying to install ansible from source, and I\'ve run these two co

相关标签:
7条回答
  • 2021-01-01 14:25

    I had this problem because I installed it with

    sudo pip install pyyaml --upgrade
    

    instead of

    sudo -H pip install pyyaml --upgrade
    

    Uninstalling and re-installing pyyaml fixed the problem for me.

    0 讨论(0)
提交回复
热议问题