pip安装mysql-client
pip install mysql-client
如果失败并提示:
Could not find a version that satisfies the requirement mysql-client (from versions: )
No matching distribution found for mysql-client
可以在Python编译包管理下载对应python版本的已经编辑好的包进行安装
进入到下载的包的路径执行
pip install mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl
查看已经安装的包
pip list