Python 版本

1
2
(venv) ➜ python --version
Python 3.8.2

安装

1
2
3
4
5
brew install mysql
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CPPFLAGS="-I/usr/local/opt/openssl/include"
pip install mysqlclient
brew uninstall mysql