pip install mysqlclient : Microsoft Visual C++ 14.0 is required

You may need to install the Python 3 and MySQL development headers and libraries like so:
For UBUNTU or Debian

sudo apt-get install python3-dev default-libmysqlclient-dev build-essential

Red Hat / CentOS

sudo yum install python3-devel mysql-devel

Then try

pip install mysqlclient

Leave a Comment