Hi,
Im getting the below error while installing the —ansible in OS X. Help me
on fixing this pls.
Rameshs-MacBook-Pro:centos-6.7 Ramesh$ sudo easy_install pip
Password:
Searching for pip
Best match: pip 8.1.2
Processing pip-8.1.2-py2.7.egg
pip 8.1.2 is already the active version in easy-install.pth
Installing pip script to /usr/local/bin
Installing pip2.7 script to /usr/local/bin
Installing pip2 script to /usr/local/bin
Using /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg
Processing dependencies for pip
Finished processing dependencies for pip
Rameshs-MacBook-Pro:centos-6.7 Ramesh$ sudo pip install ansible --quiet
Command "/usr/bin/python -u -c "import setuptools,
tokenize;__file__='/private/tmp/pip-build-zE90eG/pycrypto/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record /tmp/pip-4nV8nv-record/install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in
/private/tmp/pip-build-zE90eG/pycrypto/
Rameshs-MacBook-Pro:centos-6.7 Ramesh$ vagrant provision
==> default: Running provisioner: ansible...
default: Running ansible-playbook...
Traceback (most recent call last):
File "/usr/local/bin/ansible-playbook", line 4, in <module>
import pkg_resources
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 2793, in <module>
working_set.require(__requires__)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 673, in require
needed = self.resolve(parse_requirements(requirements))
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 576, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pycrypto>=2.6
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
--
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/871976ae-4063-4a50-b18b-a4c756ed038c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.