代码改变世界
[登录 · 注册]
  • 全网最全的Windows下Anaconda2 / Anaconda3里正确下载安装爬虫框架Scrapy(离线方式和在线方式)(图文详解)
  •       不多说,直接上干货!

      参考博客

    全网最全的Windows下Anaconda2 / Anaconda3里正确下载安装OpenCV(离线方式和在线方式)(图文详解)

        第一步:首先,提示升级下pip

     

        第二步:下载安装wheel

         也可以去网站里先下载好,离线安装。也可以如上在线安装。

         

         

         第三步:  安装lxml

        因为,我的是

      成功!

      验证下

        第四步:安装Twisted

    PS C:Anaconda3Libsite-packages> pip install Twisted-17.9.0-cp35-cp35m-win_amd64.whl
    Processing c:anaconda3libsite-packages	wisted-17.9.0-cp35-cp35m-win_amd64.whl
    Collecting hyperlink>=17.1.1 (from Twisted==17.9.0)
      Downloading hyperlink-17.3.1-py2.py3-none-any.whl (73kB)
        100% |████████████████████████████████| 81kB 7.1kB/s
    Collecting incremental>=16.10.1 (from Twisted==17.9.0)
      Downloading incremental-17.5.0-py2.py3-none-any.whl
    Collecting constantly>=15.1 (from Twisted==17.9.0)
      Downloading constantly-15.1.0-py2.py3-none-any.whl
    Collecting zope.interface>=4.0.2 (from Twisted==17.9.0)
      Downloading zope.interface-4.4.3-cp35-cp35m-win_amd64.whl (139kB)
        100% |████████████████████████████████| 143kB 13kB/s
    Collecting Automat>=0.3.0 (from Twisted==17.9.0)
      Downloading Automat-0.6.0-py2.py3-none-any.whl
    Requirement already satisfied: setuptools in c:anaconda3libsite-packagessetuptools-27.2.0-py3.5.egg (from zope.interface>=4.0.2->Twisted==17.9.0)
    Requirement already satisfied: six in c:anaconda3libsite-packages (from Automat>=0.3.0->Twisted==17.9.0)
    Collecting attrs (from Automat>=0.3.0->Twisted==17.9.0)
      Downloading attrs-17.4.0-py2.py3-none-any.whl
    Installing collected packages: hyperlink, incremental, constantly, zope.interface, attrs, Automat, Twisted
    Successfully installed Automat-0.6.0 Twisted-17.9.0 attrs-17.4.0 constantly-15.1.0 hyperlink-17.3.1 incremental-17.5.0 zope.interface-4.4.3
    PS C:Anaconda3Libsite-packages>

        第五步:安装scrapy

     

    PS C:Anaconda3Libsite-packages> pip install scrapy
    Collecting scrapy
      Downloading Scrapy-1.5.0-py2.py3-none-any.whl (251kB)
        100% |████████████████████████████████| 256kB 82kB/s
    Requirement already satisfied: Twisted>=13.1.0 in c:anaconda3libsite-packages (from scrapy)
    Requirement already satisfied: lxml in c:anaconda3libsite-packages (from scrapy)
    Collecting parsel>=1.1 (from scrapy)
      Downloading parsel-1.3.1-py2.py3-none-any.whl
    Collecting service-identity (from scrapy)
      Downloading service_identity-17.0.0-py2.py3-none-any.whl
    Requirement already satisfied: pyOpenSSL in c:anaconda3libsite-packages (from scrapy)
    Requirement already satisfied: six>=1.5.2 in c:anaconda3libsite-packages (from scrapy)
    Collecting queuelib (from scrapy)
      Downloading queuelib-1.4.2-py2.py3-none-any.whl
    Collecting PyDispatcher>=2.0.5 (from scrapy)
      Downloading PyDispatcher-2.0.5.tar.gz
    Collecting w3lib>=1.17.0 (from scrapy)
      Downloading w3lib-1.18.0-py2.py3-none-any.whl
    Collecting cssselect>=0.9 (from scrapy)
      Downloading cssselect-1.0.3-py2.py3-none-any.whl
    Requirement already satisfied: incremental>=16.10.1 in c:anaconda3libsite-packages (from Twisted>=13.1.0->scrapy)
    Requirement already satisfied: Automat>=0.3.0 in c:anaconda3libsite-packages (from Twisted>=13.1.0->scrapy)
    Requirement already satisfied: hyperlink>=17.1.1 in c:anaconda3libsite-packages (from Twisted>=13.1.0->scrapy)
    Requirement already satisfied: zope.interface>=4.0.2 in c:anaconda3libsite-packages (from Twisted>=13.1.0->scrapy)
    Requirement already satisfied: constantly>=15.1 in c:anaconda3libsite-packages (from Twisted>=13.1.0->scrapy)
    Requirement already satisfied: attrs in c:anaconda3libsite-packages (from service-identity->scrapy)
    Collecting pyasn1-modules (from service-identity->scrapy)
      Downloading pyasn1_modules-0.2.1-py2.py3-none-any.whl (60kB)
        100% |████████████████████████████████| 61kB 51kB/s
    Requirement already satisfied: pyasn1 in c:anaconda3libsite-packages (from service-identity->scrapy)
    Requirement already satisfied: cryptography>=1.3.4 in c:anaconda3libsite-packages (from pyOpenSSL->scrapy)
    Requirement already satisfied: setuptools in c:anaconda3libsite-packagessetuptools-27.2.0-py3.5.egg (from zope.interface>=4.0.2->Twisted>=13.1.0->scrapy)
    Requirement already satisfied: idna>=2.0 in c:anaconda3libsite-packages (from cryptography>=1.3.4->pyOpenSSL->scrapy)
    Requirement already satisfied: cffi>=1.4.1 in c:anaconda3libsite-packages (from cryptography>=1.3.4->pyOpenSSL->scrapy)
    Requirement already satisfied: pycparser in c:anaconda3libsite-packages (from cffi>=1.4.1->cryptography>=1.3.4->pyOpenSSL->scrapy)
    Building wheels for collected packages: PyDispatcher
      Running setup.py bdist_wheel for PyDispatcher ... done
      Stored in directory: C:UserslenovoAppDataLocalpipCachewheels8602a15857c77600a28813aaf0f66d4e4568f50c9f133277a4122411
    Successfully built PyDispatcher
    Installing collected packages: w3lib, cssselect, parsel, pyasn1-modules, service-identity, queuelib, PyDispatcher, scrapy
    Successfully installed PyDispatcher-2.0.5 cssselect-1.0.3 parsel-1.3.1 pyasn1-modules-0.2.1 queuelib-1.4.2 scrapy-1.5.0 service-identity-17.0.0 w3lib-1.18.0
    PS C:Anaconda3Libsite-packages>

        验证下

        当然,你也可以直接在这里安装

     

    欢迎大家,加入我的微信公众号:大数据躺过的坑        人工智能躺过的坑
     
     
     

    同时,大家可以关注我的个人博客

       http://www.cnblogs.com/zlslch/   和     http://www.cnblogs.com/lchzls/      http://www.cnblogs.com/sunnyDream/   

       详情请见:http://www.cnblogs.com/zlslch/p/7473861.html

      人生苦短,我愿分享。本公众号将秉持活到老学到老学习无休止的交流分享开源精神,汇聚于互联网和个人学习工作的精华干货知识,一切来于互联网,反馈回互联网。
      目前研究领域:大数据、机器学习、深度学习、人工智能、数据挖掘、数据分析。 语言涉及:Java、Scala、Python、Shell、Linux等 。同时还涉及平常所使用的手机、电脑和互联网上的使用技巧、问题和实用软件。 只要你一直关注和呆在群里,每天必须有收获

          对应本平台的讨论和答疑QQ群:大数据和人工智能躺过的坑(总群)(161156071) 

     

     
  • 上一篇:CentOS 7的安装详解
    下一篇:欢迎五湖四海博友来我园,查找攻略(大数据躺过的坑:博主强烈推荐)
  • 【推广】 阿里云小站-上云优惠聚集地(新老客户同享)更有每天限时秒杀!
    【推广】 云服务器低至0.95折 1核2G ECS云服务器8.1元/月
    【推广】 阿里云老用户升级四重礼遇享6.5折限时折扣!
  • 原文:https://www.cnblogs.com/zlslch/p/8316835.html
走看看 - 开发者的网上家园