does paramiko support python2.5?

Terry Reedy tjreedy at udel.edu
Fri Jun 13 15:49:43 EDT 2008


"Praveena B" <praveena_python at yahoo.com> wrote in message 
news:808793.504.qm at web44809.mail.sp1.yahoo.com...
when i used paramiko in python2.5 i got the error below.
File "C:\praveena\python scripts\sshlib\ssh.py", line 5, in <module>
import paramiko
File "C:\Python25\Lib\site-packages\paramiko\__init__.py", line 69, in 
<module>
from transport import randpool, SecurityOptions, Transport
File "C:\Python25\Lib\site-packages\paramiko\transport.py", line 32, in 
<module>
from paramiko import util
File "C:\Python25\lib\site-packages\paramiko\util.py", line 31, in <module>
from paramiko.common import *
File "C:\Python25\lib\site-packages\paramiko\common.py", line 98, in 
<module>
from osrandom import OSRandomPool
File "C:\Python25\Lib\site-packages\paramiko\osrandom.py", line 129, in 
<module>
raise ImportError("Cannot 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






More information about the Python-list mailing list