apple M1 python开发,django,安装mysqlclient并使用

前言

此笔记记录了MBP M1芯片的苹果本,解决mysqlclient虽然安装成功,但是会遇到_name not defound的解决办法

解决过程

内容参考:https://github.com/PyMySQL/mysqlclient/issues/496#issuecomment-893573039

我的环境:
MBP 13.3 M1 Ventura
Python 3.9.8
Django4.0

最终效果:Django成功启动,无其他错误

posted @ 2023-03-20 09:59  lisicn  阅读(111)  评论(0编辑  收藏  举报