[paramiko] Cannot find OS entropy source

Dwayne C. Litzenberger dlitz at dlitz.net
Thu May 15 20:43:40 PDT 2008


On Wed, May 07, 2008 at 03:48:32PM +0000, j_70 at comcast.net wrote:
>   I am getting the following error trying to run Paramiko in python 2.5 on WinXP. 
>
> from osrandom import OSRandomPool
>  File "C:\Python25\lib\paramiko\osrandom.py", line 129, in <module>
>    raise ImportError("Cannot find OS entropy source")
>ImportError: Cannot find OS entropy source
>
>Am I missing a dependent library?

What happens when you run the following Python program?

# --- snip ---
import os
print repr(os.urandom(8))
# --- snip ---

I did my testing on Python 2.5 on WinXP (Pro SP2) and it worked fine.

You might need pywin32 and pycrypto, if you don't have those already.

-- 
Dwayne C. Litzenberger <dlitz at dlitz.net>
  Key-signing key   - 19E1 1FE8 B3CF F273 ED17  4A24 928C EC13 39C2 5CF7
  Annual key (2008) - 4B2A FD82 FC7D 9E38 38D9  179F 1C11 B877 E780 4B45



More information about the paramiko mailing list