Mac 安装 scrapy
问题参考:https://www.jianshu.com/p/97b0bb5c720a
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-devel
sudo yum install libevent-devel
转载于:https://my.oschina.net/u/180293/blog/2876634
上一篇: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-3wDHN2/html5lib/
推荐阅读
-
ios - itms-service 能不能用php动态生成xml安装?
-
修改 Mac 默认 PHP 运行环境,给 MAMP 配置全局 Composer
-
Symfony2安装时欢迎页面CSS混乱的解决方案_html/css_WEB-ITnose
-
小白求救!joomla3.x 安装问题 数据库不能链接
-
Ubuntu1404 64 安装nginx之 缺少 libpcreso1
-
nginx服务器安装及配置文件详解(转载) 修改nginx配置文件 nginx 配置 nginx负载均衡配
-
Window 安装Sqoop 环境
-
教你如何正确安装phpDocumentor
-
Python使用scrapy抓取网站sitemap信息的方法
-
Ubuntu16.04下安装有道翻译