Error while install MySQLClient package cPanel terminal. I am windows user and it's run on windows completely but when upload to cPanel and install mysqlclient it not working
As described in cpanel cPanel, L.L.C. doesn’t develop or ship Python WSGI web applications,...
. when using pip install mysqlclient
pip try to build mysqlclient package into a wheel but it is not a wheel .
one way you can install the required dependencies from apt-get (Debian/ Ubuntu) or yum (Red Hat/ CentOS) :
# For Debian/ Ubuntu sudo apt-get install python3-dev default-libmysqlclient-dev build-essential # For Red Hat/ CentOS sudo yum install python3-devel mysql-devel
then run pip install mysqlclient
if it didn't work go with mysql-connector-python :
pip install mysql-connector-python