pycrypto, ActivePython 3.4.1.0 64 bit no module 'winrandom'

Posted by bleve on 2014-12-16 14:57
Forums: PyPM (discontinued) | OS: Windows 8

g'day,
Just a quicky - I'm trying to get paramiko running to do some ssh login stuff, and I used pypm to install it :

pypm install paramiko

All seemed to go well.
Then I tried to import it :

ActivePython 3.4.1.0 (ActiveState Software Inc.) based on
Python 3.4.1 (default, Aug 7 2014, 13:09:27) [MSC v.1600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import paramiko
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\carl\AppData\Roaming\Python\Python34\site-packages\paramiko\__init__.py", line 30, in
from paramiko.transport import SecurityOptions, Transport
File "C:\Users\carl\AppData\Roaming\Python\Python34\site-packages\paramiko\transport.py", line 49, in
from paramiko.dsskey import DSSKey
File "C:\Users\carl\AppData\Roaming\Python\Python34\site-packages\paramiko\dsskey.py", line 26, in
from Crypto.PublicKey import DSA
File "C:\Users\carl\AppData\Roaming\Python\Python34\site-packages\Crypto\PublicKey\DSA.py", line 89, in
from Crypto import Random
File "C:\Users\carl\AppData\Roaming\Python\Python34\site-packages\Crypto\Random\__init__.py", line 28, in
from Crypto.Random import OSRNG
File "C:\Users\carl\AppData\Roaming\Python\Python34\site-packages\Crypto\Random\OSRNG\__init__.py", line 34, in
from Crypto.Random.OSRNG.nt import new
File "C:\Users\carl\AppData\Roaming\Python\Python34\site-packages\Crypto\Random\OSRNG\nt.py", line 28, in
import winrandom
ImportError: No module named 'winrandom'
>>> quit()

Any suggestions?

grahams
ActiveState Staff
Thu, 2014-12-18 09:49