"Praveena B" <praveena_pytho n@yahoo.comwrot e in message
news:808793.504 .qm@web44809.ma il.sp1.yahoo.co m...
when i used paramiko in python2.5 i got the error below.
File "C:\praveena\py thon scripts\sshlib\ ssh.py", line 5, in <module>
import paramiko
File "C:\Python25\Li b\site-packages\parami ko\__init__.py" , line 69, in
<module>
from transport import randpool, SecurityOptions , Transport
File "C:\Python25\Li b\site-packages\parami ko\transport.py ", line 32, in
<module>
from paramiko import util
File "C:\Python25\li b\site-packages\parami ko\util.py", line 31, in <module>
from paramiko.common import *
File "C:\Python25\li b\site-packages\parami ko\common.py", line 98, in
<module>
from osrandom import OSRandomPool
File "C:\Python25\Li b\site-packages\parami ko\osrandom.py" , line 129, in
<module>
raise ImportError("Ca nnot find OS entropy source")
ImportError: Cannot find OS entropy source
=============== =====
I have no idea what paramiko is, but the error message suggests an OS
rather than Python problem. Can you run paramiko with an earlier version
of Python on the same machine as it is currently set up?
If so, check (and possibly post) the OSRandomPool class/function in
osrandom.py for anything that might be sensitive to 2.5 changes (there were
not very many, and just about none should have broken code).
tjr
Comment