当前位置: 移动技术网 > IT编程>数据库>Mysql > python3.6安装mysqlclient报错问题及解决方案讲解

python3.6安装mysqlclient报错问题及解决方案讲解

2018年09月12日  | 移动技术网IT编程  | 我要评论

cannot open include file: ‘mysql.h’ no such file or directory

解决方案

使用whl安装

1. pip install wheel

2. 前往https://www.lfd.uci.edu/~gohlke/pythonlibs/#下载mysqlclient-1.3.13-cp36-cp36m-win_amd64.whl

3. 控制台运行pip install wheel mysqlclient-1.3.13-cp36-cp36m-win_amd64.whl

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网