MySQL Client Installation Error: 'mysql_config' Not Found
It seems there is an error while trying to install the mysqlclient package from the requirements.txt file. The error message suggests that the 'mysql_config' binary is not found on the system, which is required by the installation process.
To fix this issue, you need to install the MySQL development package that includes the 'mysql_config' binary. Depending on your operating system, you can install it using the following command:
For Ubuntu/Debian:
sudo apt-get install libmysqlclient-dev
For CentOS/Fedora:
sudo yum install mysql-devel
For macOS:
brew install mysql
After installing the MySQL development package, try installing the mysqlclient package again using pip.
原文地址: https://www.cveoy.top/t/topic/nSVI 著作权归作者所有。请勿转载和采集!