将安装包pysqlite-2.8.3.tar.gz下载发哦服务器后,运行pip install pysqlite-2.8.3.tar.gz 出现报错:
src/connection.h:26:20: fatal error: Python.h: No such file or directory
解决办法:
yum install python-dev 或者 python-devel
继续安装接着报错:
src/connection.h:33:21: fatal error: sqlite3.h: No such file or directory
解决办法:
yum install sqlite-devel
继续安装成功
原文链接:/centos/378545.html