MacOS 10.15.5安装MySql-python错误处理
时间:2020-06-25 19:41:36
收藏:0
阅读:71
1、如果出现myconfig.h找不到:
cp /usr/local/include/mysql/mysql.h /usr/local/include/mysql/my_config.h
2、如果ld报错:ld: library not found for -lssl,直接安装一个老版本:
env LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib" pip --no-cache install mysql-python==1.2.5
原文:https://www.cnblogs.com/shijianyujingshen/p/13192615.html
评论(0)