一 使用 MySQL 问题, pymsql 有问题, 使用 mysqlclient
- https://blog.csdn.net/qq_37040516/article/details/89339805
- $ python manage.py migrate
如果 pip 装不上, 就去安装对应版本的 whl
1 先确定 python 的版本 我的是 3.6 32 位 使用命令 python 查看
2pip install wheel 安装 whell
3https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python 下载对应的 whl, 报错:***.whl is not a supported wheel on this platform. 文件和 python 不匹配 (文件名中 cm 后面的数字和 python 版本应该匹配)
4pip install 包名. whl
来源: http://www.bubuko.com/infodetail-3331312.html