Paramiko bugs out on windows 2003 server

John Machin sjmachin at lexicon.net
Mon Mar 24 23:43:13 CET 2008


On Mar 25, 7:50 am, "Tarun Kapoor" <tkap... at wscm.net> wrote:
> I am using the paramiko library to pull a data from a server using SFTP.
> It works perfect on a windows xp machine but bugs out a windows 2003
> server. I get the following error:
> Traceback (most recent call last):
>   File "S:\Temp\ftpBOA.py", line 5, in ?
>     import paramiko
>   File "C:\Python23\lib\paramiko\__init__.py", line 69, in ?
>     from transport import randpool, SecurityOptions, Transport
>   File "C:\Python23\lib\paramiko\transport.py", line 32, in ?
>     from paramiko import util
>   File "C:\Python23\lib\paramiko\util.py", line 31, in ?
>     from paramiko.common import *
>   File "C:\Python23\lib\paramiko\common.py", line 98, in ?
>     from osrandom import OSRandomPool
>   File "C:\Python23\lib\paramiko\osrandom.py", line 54, in ?
>     raise ImportError("Cannot find OS entropy source")
> ImportError: Cannot find OS entropy source
>
> Anyone knows how to solve it ?

Here's some meta-help:

paramiko seems to be actively maintained and has a mailing list -- see
http://www.lag.net/mailman/listinfo/paramiko -- consider asking on
that list.

Not only is paramiko open source but also you have the source code on
your machine already -- consider looking at C:\Python23\lib\paramiko
\osrandom.py and see if you can nut out what it is complaining about.
Even if you can't, the experience may help you to better answer
questions from the maintainer, who may well not have a Windows 2003
server box upon which to replicate the problem.




More information about the Python-list mailing list