Skip to content

Instantly share code, notes, and snippets.

@kakbit
Created September 14, 2013 08:02
Show Gist options
  • Select an option

  • Save kakbit/6559806 to your computer and use it in GitHub Desktop.

Select an option

Save kakbit/6559806 to your computer and use it in GitHub Desktop.
Ansible error
[patric@graphite01 ansible]$ ansible --version
Traceback (most recent call last):
File "/usr/bin/ansible", line 24, in <module>
from ansible.runner import Runner
File "/usr/lib/python2.6/site-packages/ansible/runner/__init__.py", line 50, in <module>
from Crypto.Random import atfork
File "/usr/lib64/python2.6/site-packages/Crypto/Random/__init__.py", line 29, in <module>
from Crypto.Random import _UserFriendlyRNG
File "/usr/lib64/python2.6/site-packages/Crypto/Random/_UserFriendlyRNG.py", line 38, in <module>
from Crypto.Random.Fortuna import FortunaAccumulator
File "/usr/lib64/python2.6/site-packages/Crypto/Random/Fortuna/FortunaAccumulator.py", line 39, in <module>
import FortunaGenerator
File "/usr/lib64/python2.6/site-packages/Crypto/Random/Fortuna/FortunaGenerator.py", line 34, in <module>
from Crypto.Util.number import ceil_shift, exact_log2, exact_div
File "/usr/lib64/python2.6/site-packages/Crypto/Util/number.py", line 56, in <module>
if _fastmath is not None and not _fastmath.HAVE_DECL_MPZ_POWM_SEC:
AttributeError: 'module' object has no attribute 'HAVE_DECL_MPZ_POWM_SEC'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment