ansible verison 1.7 and pycrpto problems

I installed ansible 1.7, when I played my playbook, I got the following error messages:

[***@xxxx openstack]$ ansible-playbook -i …/inventory --ask-vault-pass keystone.yml
Vault password:
ERROR: ansible-vault requires a newer version of pycrypto than the one installed on your platform. You may fix this with OS-specific commands such as:
yum install python-devel; rpm -e --nodeps python-crypto; pip install pycrypto

I followed the above instruction, I got:

pip install pycrypto --upgrade
Requirement already up-to-date: pycrypto in /usr/lib64/python2.6/site-packages/pycrypto-2.6.1-py2.6-linux-x86_64.egg
Cleaning up…

However, the problem is not still there.

regards

Henry

Initial questions - what OS are you running from and how did you install ansible?

Pycrypto can get confused when your libs get mixed between OS packages and pip.