试试用这个命令
pip install mysql-connector==2.1.7 -i https://pypi.tuna.tsinghua.edu.cn/simple
版本如果没有的话 他会提示选择恰当的版本就好。
python3安装 MySQL - mysql-connector 驱动 缓慢问题
最新推荐文章于 2024-07-10 09:15:55 发布
试试用这个命令
pip install mysql-connector==2.1.7 -i https://pypi.tuna.tsinghua.edu.cn/simple
版本如果没有的话 他会提示选择恰当的版本就好。