本人在centos7下安装scrapy时遇到一个错误:twisted/test/raiser.c:4:20: fatal error: Python.h: No such file or directory
解决:先安装python-devel,yum install python-devel,然后继续安装scrapy。即pip install Scrapy即可。
本人在centos7下安装scrapy时遇到一个错误:twisted/test/raiser.c:4:20: fatal error: Python.h: No such file or directory
解决:先安装python-devel,yum install python-devel,然后继续安装scrapy。即pip install Scrapy即可。