[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] AttributeError: 'module' object has no attribute 'HAVE_DE
From: |
Jeff Forcier |
Subject: |
Re: [Fab-user] AttributeError: 'module' object has no attribute 'HAVE_DECL_MPZ_POWM_SEC' |
Date: |
Wed, 31 Jul 2013 08:40:07 -0700 |
Kushal,
This error is coming out of the PyCrypto library, so it's going to be
some problem on their end most likely - it's happening as Fabric
imports PyCrypto so there's nothing Fab could be doing differently
here.
I'd google around to see if others have encountered that error message
(it's new to me) - perhaps trying a different version of PyCrypto will
help.
Best,
Jeff
On Wed, Jul 31, 2013 at 1:40 AM, Kaushal Shriyan
<address@hidden> wrote:
> Hi
>
> I am on CentOS 6.4 and trying to install fab. I am currently facing the
> below issue.
>
> $ fab -V
> Traceback (most recent call last):
> File "/usr/bin/fab", line 9, in <module>
> load_entry_point('Fabric==1.7.0', 'console_scripts', 'fab')()
> File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 299, in
> load_entry_point
> return get_distribution(dist).load_entry_point(group, name)
> File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2229, in
> load_entry_point
> return ep.load()
> File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in
> load
> entry = __import__(self.module_name, globals(),globals(), ['__name__'])
> File
> "/usr/lib/python2.6/site-packages/Fabric-1.7.0-py2.6.egg/fabric/main.py",
> line 19, in <module>
> from fabric import api, state, colors
> File
> "/usr/lib/python2.6/site-packages/Fabric-1.7.0-py2.6.egg/fabric/api.py",
> line 9, in <module>
> from fabric.context_managers import (cd, hide, settings, show, path,
> prefix,
> File
> "/usr/lib/python2.6/site-packages/Fabric-1.7.0-py2.6.egg/fabric/context_managers.py",
> line 42, in <module>
> from fabric.state import output, win32, connections, env
> File
> "/usr/lib/python2.6/site-packages/Fabric-1.7.0-py2.6.egg/fabric/state.py",
> line 9, in <module>
> from fabric.network import HostConnectionCache, ssh
> File
> "/usr/lib/python2.6/site-packages/Fabric-1.7.0-py2.6.egg/fabric/network.py",
> line 24, in <module>
> import paramiko as ssh
> File
> "/usr/lib/python2.6/site-packages/paramiko-1.11.0-py2.6.egg/paramiko/__init__.py",
> line 64, in <module>
> from transport import SecurityOptions, Transport
> File
> "/usr/lib/python2.6/site-packages/paramiko-1.11.0-py2.6.egg/paramiko/transport.py",
> line 33, in <module>
> from paramiko import util
> File
> "/usr/lib/python2.6/site-packages/paramiko-1.11.0-py2.6.egg/paramiko/util.py",
> line 33, in <module>
> from paramiko.common import *
> File
> "/usr/lib/python2.6/site-packages/paramiko-1.11.0-py2.6.egg/paramiko/common.py",
> line 98, in <module>
> from Crypto import Random
> 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'
>
> Regards
>
> Kaushal
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/fab-user
>
--
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org