The MAC system installs MySQL client, and the error is solved_ config not found
Using PIP3 install MySQL_ Client error
The error message is as follows: prompt: oserror: MySQL_ config not found
python setup.py egg_ info Check the logs for full command output
mysql_ Config not found
Solve the problem according to the error report
Prompt that the file does not exist. Use find to find the file and verify whether the file exists
find/- name MySQL_ Config
you can see that the file exists. It is preliminarily judged that the environment variable is not configured
resolvent
Add the queried address to the environment variable
export path = $path:/usr/local/mysql-5.6.38-macos10.12-x86_ 64/bin
Verify again
Download again, the prompt is successful, and the problem is solved
Problem regression
Because MySQL has been downloaded before, the environment variable configuration may be deleted when operating other contents. This method is not applicable to all cases
Read More:
- EnvironmentError:mysql config not found
- Solved “openssl config failed: error:02001003:system library:fopen:No such process” for Nodejs Windo
- Solve the problem of MySQL 1251 client does not support
- net start mysql System error 2 has occurred. The system cannot find the file specified.
- Error: pg_config executable not found.
- Solved – problem cannot find module ‘webpack / bin / config yargs’
- Finally solved the importError: DLLload failed: the specified module could not be found when import matplotlib.pyplot
- Command not found: ADB appears on Mac
- Python Mac installs mysqlclient package error “error: command’clang’ failed with exit status 1” solution
- The server just without updating PID file and can’t connect to local MySQL server through socket are solved
- Mac: how to show hidden files under Apple Mac operating system
- MySQL: if the remote connection using navicatip fails, prompt “is not allowed to connect to this MySQL server”
- Mac command not found solution
- [How to Fix] MySQL Workbench for Mac Flashback
- When Linux installs redis, it executes make install and reports an error: Make: * * [server. O] error 1 (solved)
- ERROR Invalid options in vue.config.js: “plugins“ is not allowed
- Python’s importerror: DLL load failed: the specified module was not found and the problem was solved
- Solve net start mysql, start MySQL service, prompt system error 5. Access denied.
- MySQL server PID file could not be found!
- ERROR 1148 (42000): The used command is not allowed with this MySQL version