linux-CentOS安装Anaconda3后安装python3.7,pip install mysqlclient 报错
解决
#引入mysql的connector
conda install -c anaconda mysql-connector-python
#安装mysqlclient
conda install -c bioconda mysqlclient
最终安装结果如下“
以上解决方式为在由Anaconda3管理的python3.7环境下执行
如未利用Anaconda3来管理环境,可借鉴:
yum install mysql-devel
yum install python-devel
pip install mysqlclient
其他环境可参考:https://blog.csdn.net/u012751272/article/details/88338122
关于windows环境的安装可从该地址下载安装:https://www.lfd.uci.edu/~gohlke/pythonlibs/