1.不能用pip instal mysqldb安装
2.到https://pypi.org/project/mysqlclient/#files下载对应版本的mysqlclient 3.6 3.7 3.8一定要版本对应
3.下载的文件:mysqlclient-2.0.3-cp37-cp37m-win_amd64.whl
4.pip install mysqlclient-2.0.3-cp37-cp37m-win_amd64.whl安装即可
2022-05-19 02:57:51
1.不能用pip instal mysqldb安装
2.到https://pypi.org/project/mysqlclient/#files下载对应版本的mysqlclient 3.6 3.7 3.8一定要版本对应
3.下载的文件:mysqlclient-2.0.3-cp37-cp37m-win_amd64.whl
4.pip install mysqlclient-2.0.3-cp37-cp37m-win_amd64.whl安装即可