virtualmin mysqlclient error

if you get “OSError: mysql_config not found” error while installing mysqlclient with python pip

you can use the following command to install necessary library

sudo apt-get install libmysqlclient-dev

Note that this solution is tested on ubuntu 18.04 lts

Thanks: https://stackoverflow.com/questions/7475223/mysql-config-not-found-when-installing-mysqldb-python-interface

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.