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
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.