0
votes

am using Python brisa Framework to implement UpnP protocols. I was trying to make a device but while executing it in ubuntu linux env, it throws me an error.What does thsi eror mean? DO i need to change the framework files??

/usr/local/lib/python2.6/dist-packages/cherrypy/lib/cptools.py:4: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 /usr/local/lib/python2.6/dist-packages/cherrypy/lib/sessions.py:16: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha

1
DeprecationWarning ... Deprecation Warning ... Deprecation Warning ...Ignacio Vazquez-Abrams
Python is an interpreted language, it isn't compiled :)gnur
@gnur: Yes it is, it just isn't compiled to machine code.Ignacio Vazquez-Abrams
But it is done at runtime, so you have runtime errors and not compilation errors.gnur

1 Answers

0
votes

That's not an error, it's a warning. You're using code written for python 2.5 or earlier, before there was a hashlib module.