By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,224 Members | 1,268 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,224 IT Pros & Developers. It's quick & easy.

Re: does paramiko support python2.5?

P: n/a

"Praveena B" <pr*************@yahoo.comwrote in message
news:80***********@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

Jun 27 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Jun 13, 3:49 pm, "Terry Reedy" <tjre...@udel.eduwrote:
"Praveena B" <praveena_pyt...@yahoo.comwrote in message

news:80***********@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
....
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

====================
It appears you have a non-functioning pycrypto. Have you installed it?
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.