问题参考:
1、升级pip:pip install --upgrade pip
2、安装scrap,忽略zope.interface : sudo pip install Scrapy --upgrade --ignore-installed zope.interface
Successfully installed Automat-0.7.0 PyDispatcher-2.0.5 PyHamcrest-1.9.0 Scrapy-1.5.1 Twisted-18.9.0 asn1crypto-0.24.0 attrs-18.2.0 cffi-1.11.5 constantly-15.1.0 cryptography-2.4.1 cssselect-1.0.3 enum34-1.1.6 functools32-3.2.3.post2 hyperlink-18.0.0 idna-2.7 incremental-17.5.0 ipaddress-1.0.22 lxml-4.2.5 parsel-1.5.1 pyOpenSSL-18.0.0 pyasn1-0.4.4 pyasn1-modules-0.2.2 pycparser-2.19 queuelib-1.5.0 service-identity-17.0.0 setuptools-40.6.2 six-1.11.0 w3lib-1.19.0 zope.interface-4.6.0
问题1: unable to execute gcc: No such file or directory error: command 'gcc' failed
解决方案:
sudo yum install python-develsudo yum install libevent-devel
参考链接: