Error saying "ERROR! Unexpected Exception: 'module' object has no attribute '_vendor'"

0 votes

I have installed ansible and trying to run it but I get this error:

ERROR! Unexpected Exception: 'module' object has no attribute '_vendor'
I am using OSX.10.12.4.
Jan 28 in Ansible by Layla
66 views

1 answer to this question.

0 votes

Ansible is highly dependant on the python libraries for its execution and hence make sure all the required libs are installed. If not use install them.

  1. Install python3, in order to use pip3
  2. sudo pip3 install pyyaml
  3. sudo pip3 install ansible
  4. sudo pip3 install ansible --upgrade
answered Jan 28 by Varsha

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
110 views
0 votes
1 answer
0 votes
1 answer

Error: One or more undefined variables: 'unicode object' has no attribute 'repo'

Hey change this in your role with_items: apt_repos By ...READ MORE

answered Mar 14 in Ansible by Haseeb
178 views
0 votes
1 answer

Error saying "msg: unsupported parameter for module: deb"

Hey @Laksha, I think an older version ...READ MORE

answered Feb 1 in Ansible by Ansiha
97 views