pip install -r requirements.txt install mysqlclient error under mac
```bash
Collecting mysqlclient==2.1.1 (from -r requirements.txt (line 17))
Using cached mysqlclient-2.1.1.tar.gz (88 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
/bin/sh: mysql_config: command not found
/bin/sh: mariadb_config: command not found
/bin/sh: mysql_config: command not found
OSError: mysql_config not found
mysql_config --version
mariadb_config --version
mysql_config --libs
[end of output]
Main error message:
/bin/sh: mysql_config: command not found
/bin/sh: mariadb_config: command not found
/bin/sh: mysql_config: command not found
OSError: mysql_config not found
I installed mysql8.0. I entered mysql in the vscode terminal and it prompted that it could not be found.
After adding the mysql path, I tested it in the editor terminal.
% PATH="$PATH":/usr/local/mysql/bin
% mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
The main reason is that the path cannot be recognized because the environment variable is not set