Everyone_Else Everyone_Else - 3 months ago 9
MySQL Question

How to install flaskext.mysql with yum/centos?

While running a program, I get the error

ImportError: No module named flaskext.mysql
. How can I fix this with yum?

Answer

You can install flaskext.mysql using pip

pip install flask-mysql

If you don't have pip you can install that using the instructions here: https://packaging.python.org/install_requirements_linux/#centos-rhel

Flask-MySQL Documentation: http://flask-mysql.readthedocs.io/en/latest/