When installing Python mysqlclient, “oserror: MySQL” appears_ “Config not found” error

Knowledge map advanced must read: read how large-scale map data efficient storage and retrieval>>>

Question:

develop a management platform with Python 3 and store metadata with MySQL database. When installing the mysqlclient module with PIP, “oserror: MySQL” appears_ “Config not found” error

Solution:

just install the libmysqlclient dev package. If you have any problems, you can install Python dev

input command: apt get install libmysqlclient dev python3 dev can solve this problem input command: apt get install libmysqlclient dev python3 dev can solve this problem

Similar Posts: