Traceback (most recent call last):


 "C:/Users/Lenovo/PycharmProjects/dbcheck/app.py", line 24, in <module>

with DataBaseConnection as connection:
AttributeError: __enter__

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/usr/lib/python2.6/site-packages/paramiko/__init__.py", line 62, in <module>

from transport import SecurityOptions, Transport


 "/usr/lib/python2.6/site-packages/paramiko/transport.py", line 33, in <module>

from paramiko import util


 "/usr/lib/python2.6/site-packages/paramiko/util.py", line 33, in <module>

from paramiko.common import *


 "/usr/lib/python2.6/site-packages/paramiko/common.py", line 98, in <module>

from Crypto import Random


 "/usr/lib64/python2.6/site-packages/Crypto/Random/__init__.py", line 29, in <module>

from Crypto.Random import _UserFriendlyRNG


 "/usr/lib64/python2.6/site-packages/Crypto/Random/_UserFriendlyRNG.py", line 38, in <module>

from Crypto.Random.Fortuna import FortunaAccumulator


 "/usr/lib64/python2.6/site-packages/Crypto/Random/Fortuna/FortunaAccumulator.py", line 39, in <module>

import FortunaGenerator


 "/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


 "/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'
