DeprecationWarning on md5

Zeynel azeynel1 at gmail.com
Wed Nov 18 20:23:07 EST 2009


Hello,

I am a newbie both in Scrapy and Python. When I create a project with
Scrapy I get these errors:

C:\Python26\lib\site-packages\twisted\python\filepath.py:12:
DeprecationWarning: the sha module is deprecated; use the hashlib
module instead import sha
C:\Python26\lib\site-packages\twisted\spread\pb.py:30:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
C:\Python26\lib\site-packages\twisted\mail\smtp.py:10:
DeprecationWarning: the MimeWriter module is deprecated; use the email
package instead

I found several references to this "bug" but I could not understand
how to fix it. Can anyone help?

Thanks



More information about the Python-list mailing list