• 安装scrapy


    安装scrapy报错

      。。。。。。。。

        copying src wistedinternetiocpreactoriocpsupportwinsock_pointers.c -> buildlib.win-amd64-3.6 wistedinternetiocpreactoriocpsupport
        copying src wistedinternetiocpreactoriocpsupportwinsock_pointers.h -> buildlib.win-amd64-3.6 wistedinternetiocpreactoriocpsupport
        copying src wistedinternetiocpreactoriocpsupportwsarecv.pxi -> buildlib.win-amd64-3.6 wistedinternetiocpreactoriocpsupport
        copying src wistedinternetiocpreactoriocpsupportwsasend.pxi -> buildlib.win-amd64-3.6 wistedinternetiocpreactoriocpsupport
        copying src wistedinternet est\_awaittests.py.3only -> buildlib.win-amd64-3.6 wistedinternet est
        copying src wistedinternet est\_yieldfromtests.py.3only -> buildlib.win-amd64-3.6 wistedinternet est
        creating buildlib.win-amd64-3.6 wistedinternet estfake_CAs
        copying src wistedinternet estfake_CAschain.pem -> buildlib.win-amd64-3.6 wistedinternet estfake_CAs
        copying src wistedinternet estfake_CAs ot-a-certificate -> buildlib.win-amd64-3.6 wistedinternet estfake_CAs
        copying src wistedinternet estfake_CAs hing1.pem -> buildlib.win-amd64-3.6 wistedinternet estfake_CAs
        copying src wistedinternet estfake_CAs hing2-duplicate.pem -> buildlib.win-amd64-3.6 wistedinternet estfake_CAs
        copying src wistedinternet estfake_CAs hing2.pem -> buildlib.win-amd64-3.6 wistedinternet estfake_CAs
        copying src wistedmail est fc822.message -> buildlib.win-amd64-3.6 wistedmail est
        copying src wistedpython est\_deprecatetests.py.3only -> buildlib.win-amd64-3.6 wistedpython est
        copying src wistedwordsiminstancemessenger.glade -> buildlib.win-amd64-3.6 wistedwordsim
        copying src wistedwordsxishxpathparser.g -> buildlib.win-amd64-3.6 wistedwordsxish
        running build_ext
        building 'twisted.test.raiser' extension
        error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

        ----------------------------------------
    Command "d:python36python.exe -u -c "import setuptools, tokenize;__file__='C:\Users\xjd_0\AppData\Local\Temp\pip-install-v3oenju8\Twisted\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" install --record C:Usersxjd_0AppDataLocalTemppip-record-b1fuy076install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:Usersxjd_0AppDataLocalTemppip-install-v3oenju8Twisted

    解决办法:

    http://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted 下载twisted对应版本的whl文件(如我的Twisted-18.4.0-cp36-cp36m-win_amd64.whl),cp后面是python版本,amd64代表64位,运行命令:

    pip install  C:Usersxjd_0DownloadsTwisted-18.4.0-cp36-cp36m-win_amd64.whl

    其中install后面为下载的whl文件的完整路径名

    安装完成后,再次运行:

    pip install scrapy

    即可成功。

  • 相关阅读:
    Flex通过Blazeds利用Remoteservice与后台java消息推送
    flex 实时更新的一些方法总结
    想让领导放权,就先让领导放心(深度好文)
    教师表(TEACHER.DBF)
    Delphi中基本控件之SaveDialog控件的使用总结
    Delphi实现类的持久化保存(DFM格式)
    人事中的BP是什么意思?
    从HR 到SBP其实还有很长的一段路要走
    在DBGrid中,按ctrl+Delete不让删除,怎么实现
    delphi adoquery的post和UpdateBatch
  • 原文地址:https://www.cnblogs.com/catxjd/p/9029654.html
Copyright © 2020-2023  润新知