zoukankan      html  css  js  c++  java
  • python 安装scrapy

    1. 首先你先得安装PYTHON。。。还是推荐2.7吧,之前装了3.3似乎和这个世界格格不入...先装个2.7. 并将python加入系统的环境变量.

    2. 去scrapy 官网下载最新版本的scrapy.  

    http://scrapy.org/doc/

    cmd 切换到scrapy 的目录,运行目录下的setup.py.

    D:scrapy>python setup.py install

    在安装scrapy的时候你会发现也需要安装其他的东西,虽然在命令行中会自己下载,但是还是自行下载比较快.

    lxml:
    https://pypi.python.org/packages/2.7/l/lxml/lxml-3.4.2.win32-py2.7.exe
    Twisted:
    https://pypi.python.org/packages/2.7/T/Twisted/Twisted-15.0.0.win32-py2.7.exe
    OpenSSL:
    https://pypi.python.org/packages/2.7/p/pyOpenSSL/pyOpenSSL-0.13.winxp32-py2.7.msi
    cryptography:
    https://pypi.python.org/packages/source/c/cryptography/cryptography-0.7.2.tar.gz
    zope.interface:
    https://pypi.python.org/packages/2.7/z/zope.interface/zope.interface-4.1.0.win32-py2.7.exe#
    service_identity:
    https://pypi.python.org/packages/source/s/service_identity/service_identity-14.0.0.tar.gz#md5=cea0b0156d73b025ecef660fb51f0d9a

    3. 验证是否安装成功

  • 相关阅读:
    228. Summary Ranges
    227. Basic Calculator II
    224. Basic Calculator
    222. Count Complete Tree Nodes
    223. Rectangle Area
    221. Maximal Square
    220. Contains Duplicate III
    219. Contains Duplicate II
    217. Contains Duplicate
    Java编程思想 4th 第4章 控制执行流程
  • 原文地址:https://www.cnblogs.com/kiddy/p/4357649.html
Copyright © 2011-2022 走看看