I fixed this issue on my Ubuntu 15.10 machine by installing 
python-paramiko, python-selinux, and python-crypto

Try installing all dependencies from regular ansible package (apt-cache 
show ansible) - you might have some missing.

On Tuesday, September 22, 2015 at 9:52:41 AM UTC-5, [email protected] wrote:
>
> Hi all. I hope you can help me investigating the problem why my ansible 
> installation does not want to run.
> I get the following traceback in latest stable "release" as well as git 
> checkout:
>
> seadmin@aconf1a:/sw/ansible_gitclone/ansible/bin> ./ansible
> Traceback (most recent call last):
>   File "./ansible", line 40, in <module>
>     from ansible.utils.display import Display
>   File "/sw/ansible/lib/ansible/utils/display.py", line 35, in <module>
>     from ansible import constants as C
>   File "/sw/ansible/lib/ansible/constants.py", line 30, in <module>
>     from ansible.parsing.splitter import unquote
>   File "/sw/ansible/lib/ansible/parsing/__init__.py", line 32, in <module>
>     from ansible.parsing.vault import VaultLib
>   File "/sw/ansible/lib/ansible/parsing/vault/__init__.py", line 53, in 
> <module>
>     from Crypto.Hash import SHA256, HMAC
>   File "build/bdist.linux-x86_64/egg/Crypto/Hash/HMAC.py", line 66, in 
> <module>
>   File "build/bdist.linux-x86_64/egg/Crypto/Util/strxor.py", line 7, in 
> <module>
>   File "build/bdist.linux-x86_64/egg/Crypto/Util/strxor.py", line 3, in 
> __bootstrap__
>   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 90, 
> in <module>
> AttributeError: 'module' object has no attribute '_vendor'
>
> My older 2.0.0 ansible installation is running properly.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/89fbe424-4247-4138-af5d-db02a64b08a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to