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, 2019 in Ansible by Layla
2,242 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, 2019 by Varsha

Related Questions In Ansible

0 votes
1 answer
0 votes
2 answers

Error saying "ImportError: No module named yaml"

actually this related python pckage in order ...READ MORE

answered Jul 18, 2020 in Ansible by shivanand
17,441 views
0 votes
1 answer

Error saying "ImportError: No module named ansible.playbook" when installing ansible on aws

Hey @Niana, I don't think you have ...READ MORE

answered Feb 4, 2019 in Ansible by Anushri

edited Feb 6, 2019 4,561 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 views
+2 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, 2019 in Ansible by Haseeb
3,534 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, 2019 in Ansible by Ansiha
2,395 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP