warning: no files found matching 'license.txt' under directory 'scrapy' no previously-included directories found matching 'docs/build' warning: no files found matching '*' under directory 'bin' Requirement already satisfied (use --upgrade to upgrade): Twisted>=10.0.0 in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from Scrapy) Downloading/unpacking w3lib>=1.14.2 (from Scrapy) Running setup.py egg_info for package w3lib
Downloading/unpacking queuelib (from Scrapy) Running setup.py egg_info for package queuelib
Requirement already satisfied (use --upgrade to upgrade): lxml in /Library/Python/2.7/site-packages (from Scrapy) Requirement already satisfied (use --upgrade to upgrade): pyOpenSSL in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from Scrapy) Downloading/unpacking cssselect>=0.9 (from Scrapy) Could not find any downloads that satisfy the requirement cssselect>=0.9 (from Scrapy) No distributions at all found for cssselect>=0.9 (from Scrapy) Storing complete log in /Users/ouyi/.pip/pip.log
1
matthewz 2016-06-05 19:51:52 +08:00
Could not find any downloads that satisfy the requirement cssselect>=0.9 (from Scrapy) No distributions at all found for cssselect>=0.9 (from Scrapy)
|
2
jack1545 OP 额。。网上都推荐用 pip 安装,一直装都找不到,应该是一键安装所有依赖库的呀,还有其他途径安装吗?
@matthewz |
4
matthewz 2016-06-06 08:07:17 +08:00
@jack1545 正常情况下, pip 会自动拉取编译 Scrapy 依赖的其它 python 包,但由于 pip 可能调用 setuptools 去拉取依赖包,而后者可能因为 openssl 的原因,拉取依赖包失败。
http://blog.csdn.net/slvher/article/details/42346887 |
5
tkisme 2016-06-06 09:42:46 +08:00
不建议装到系统的 python 库,有问题的
The Apple-provided build of Python is installed in /System/Library/Frameworks/Python.framework and /usr/bin/python, respectively. You should never modify or delete these, as they are Apple-controlled and are used by Apple- or third-party software. Remember that if you choose to install a newer Python version from python.org, you will have two different but functional Python installations on your computer, so it will be important that your paths and usages are consistent with what you want to do. 来源: https://docs.python.org/3/using/mac.html |
6
tkisme 2016-06-06 09:53:00 +08:00
|