I am trying to launch a Tornado demo blog. I changed the database settings in the blog.py file. but when I try to run the blog.py file, I get the following error:
link to blog.py
link to database.py
What needs to be done to get through this error?
I met the same problem. If you are using Ubuntu, try " sudo apt-get install python-MySQLdb "
sudo apt-get install python-MySQLdb
Install MySQLdb (tornado.database required).
Source: https://habr.com/ru/post/916065/More articles:Using SQL DataReader to capture inserted or deleted values - c #CSS way to limit line breaks for text - htmlOmniauth + facebook error while trying to cancel popup - callbackJavaScript - exclude single quote in property value of javascript object - jsonHow to get your public IP in shell script? - linuxModeling blogs and ratings in mongodb and nodejs - javascriptRails: Act_as_taggable_on vs. Rocket_tag - ruby-on-railsHow to save XML nodes that are not bound to an object when using SAX for parsing - javaCodeIgniter: Failed to load the requested file: - phpHow to use regex for currency - javascriptAll Articles