pip install Scrapy 报错:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb4 in position
python setup.py install 报错:
distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1
安装了几个包之后终于解决:
1. yum install libxslt-devel
2. yum install python-devel
3. yum install libffi-devel
$ python >>> import scrapy >>>
>>> #终于成功了
ps:不知到有没有漏掉记录安装过的包,感觉搞来搞去,莫名其妙就好了