安装mysqlclient报错 The error message you’re seeing indicates that the pkg-config utility is not installed on your system, or it is not able to find the necessary configuration for mysqlclient. pkg-confi
话不多说,报错如下: × Getting requirements to build wheel did not run successfully.│ exit code: 1╰─> [24 lines of output]Trying pkg-config --exists mysqlclientCommand 'pkg-config --exists mysqlclient' retur
问题:django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3. 在项目init文件中加入 解决办法: import pymysqlpymysql.version_info=(1,3,13,"final",0)pymysql.install_as
报错环境 python=3.6,django=2.2,PyMySQL=0.9.3 …… django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3. 解决方法: Django连接MySQL时默认使用MySQLdb驱动,但MySQLdb不支持Python3,