Paramiko bugs out on windows 2003 server

T

Tarun Kapoor

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 ?
Tarun Kapoor



Disclaimer

This e-mail and any attachments is confidential and intended solely for the use of the individual(s) to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Waterstone Capital Management, L.P and affiliates. If you are not the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, printing, forwarding or copying of this email is strictly prohibited. Please contact the sender if you have received this e-mail in error. You should also be aware that e-mails are susceptible to interference and you should not assume that the contents of this e-mail originated from the sender above or that they have been accurately reproduced in their original form. Waterstone Capital Management, L.P. and affiliates accepts no responsibility for information, or errors or omissions in this e-mail or use or misuse thereof. If in doubt, please verify the authenticity with the sender.
 
J

John Machin

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top