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

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
+13 votes
2 answers
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
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

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.