#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    6
    Rep Power
    0

    I have issue in import paramiko


    I am getting below error whenever i m trying to import paramiko.
    I am using python 2.7.3 version
    >>> import paramiko
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/opt/Python/lib/python2.7/site-packages/paramiko/__init__.py", line 69, in <module>
    from transport import randpool, SecurityOptions, Transport
    File "/opt/Python/lib/python2.7/site-packages/paramiko/transport.py", line 32, in <module>
    from paramiko import util
    File "/opt/Python/lib/python2.7/site-packages/paramiko/util.py", line 32, in <module>
    from paramiko.common import *
    File "/opt/Python/lib/python2.7/site-packages/paramiko/common.py", line 98, in <module>
    from rng import StrongLockingRandomPool
    File "/opt/Python/lib/python2.7/site-packages/paramiko/rng.py", line 23, in <module>
    from Crypto.Util.randpool import RandomPool as _RandomPool
    ImportError: No module named Crypto.Util.randpool
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,713
    Rep Power
    480
    These files load for me.

    For instance, `ls -l' shows
    -rw-r--r-- 1 root root 10560 Jun 1 2012 /usr/lib/python2.7/dist-packages/Crypto/Util/strxor.so
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo