Bonjour à tous
je me permet de soumettre le probleme suivant:
>>> from Crypto.Util.randpool import RandomPool
>>> rpool = RandomPool()
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
rpool = RandomPool()
File "C:\Python26\Lib\site-packages\Crypto\Util\randpool.py", line 57, in __init__
from Crypto.Hash import SHA as hash
File "C:\Python26\Lib\site-packages\Crypto\Hash\SHA.py", line 6, in <module>
from sha import *
File "C:\Python26\lib\sha.py", line 8, in <module>
DeprecationWarning, 2)
File "C:\Python26\lib\warnings.py", line 29, in _show_warning
file.write(formatwarning(message, category, filename, lineno, line))
TypeError: idle_formatwarning_subproc() takes exactly 4 arguments (5 given)
J'ai installé la librairie pycrypto, tout fonctionne bien sauf ça et malheureusement je ne peut pas aller plus loin puisque la generation de clef RSA necessite cette fonction randompool.
Quelqu'un a une idée ?
Merci !

 

 
		
		 
         
 

 
			
			


 Probleme de random
 Probleme de random
				
 Répondre avec citation
  Répondre avec citation 
			
			


 
			 
   
 
Partager