scrapy使用笔记——快速安装

运行环境:ubuntu16.04LTS

工具:python包管理器pip

命令:

sudo pip install scrapy

运行结果:

Successfully installed Automat-0.6.0 PyDispatcher-2.0.5 Twisted-17.9.0 asn1crypto-0.24.0 attrs-17.4.0 cffi-1.11.5 constantly-15.1.0 cryptography-2.2.2 cssselect-1.0.3 hyperlink-18.0.0 incremental-17.5.0 ipaddress-1.0.22 parsel-1.4.0 pyOpenSSL-17.5.0 pyasn1-0.4.2 pyasn1-modules-0.2.1 pycparser-2.18 queuelib-1.5.0 scrapy-1.5.0 service-identity-17.0.0 w3lib-1.19.0 zope.interface-4.4.3

    可以看到安装了scrapy框架以及Twisted等依赖库。

    更新方式:

sudo pip install --upgrade Scrapy

    安装特定版本:

 sudo pip install Scrapy==1.5.0


猜你喜欢

转载自blog.csdn.net/yzp1011/article/details/79979082