在学习scrapy中遇到的问题
程序员成长之旅 · 程序员成长之旅/Python学习/爬虫学习 · 173 字
在学习scrapy中遇到的问题
遇到的问题
安装scrapy中遇到的error: command 'gcc' failed with exit status 1问题
#在安装时遇到如下问题
#include "Python.h"
^
compilation terminated.
error: command 'gcc' failed with exit status 1
解决方法
安装一个devel环境即可yum install python-devel
提示了未找到某个软件依赖
<https://pypi.org> 搜索xxx软件包下载后使用python安装即可