zoukankan      html  css  js  c++  java
  • scrapy

    [root@mhc scrapy]# scrapy startproject tutorial
    Traceback (most recent call last):
      File "/usr/bin/scrapy", line 7, in <module>
        from scrapy.cmdline import execute
      File "/usr/lib/python2.7/site-packages/scrapy/cmdline.py", line 9, in <module>
        from scrapy.crawler import CrawlerProcess
      File "/usr/lib/python2.7/site-packages/scrapy/crawler.py", line 7, in <module>
        from twisted.internet import reactor, defer
      File "/usr/lib64/python2.7/site-packages/twisted/internet/reactor.py", line 38, in <module>
        from twisted.internet import default
      File "/usr/lib64/python2.7/site-packages/twisted/internet/default.py", line 56, in <module>
        install = _getInstallFunction(platform)
      File "/usr/lib64/python2.7/site-packages/twisted/internet/default.py", line 44, in _getInstallFunction
        from twisted.internet.epollreactor import install
      File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 24, in <module>
        from twisted.internet import posixbase
      File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 18, in <module>
        from twisted.internet import error, udp, tcp
      File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 28, in <module>
        from twisted.internet._newtls import (
      File "/usr/lib64/python2.7/site-packages/twisted/internet/_newtls.py", line 21, in <module>
        from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
      File "/usr/lib64/python2.7/site-packages/twisted/protocols/tls.py", line 63, in <module>
        from twisted.internet._sslverify import _setAcceptableProtocols
      File "/usr/lib64/python2.7/site-packages/twisted/internet/_sslverify.py", line 38, in <module>
        TLSVersion.TLSv1_1: SSL.OP_NO_TLSv1_1,
    AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'

    pip install twisted==13.1.0

  • 相关阅读:
    linux freopen函数
    进程的环境变量environ
    ls -l 和du 的区别
    Python时间,日期,时间戳之间转换
    Web 服务器压力测试实例详解
    装numpy 环境:python3.4+ windows7 +64位系统
    在Windows Python3.4 上安装NumPy、Matplotlib、SciPy和IPython
    apache 自带的ab.exe 测试网站的并发量(网站压力测试)
    成员如何关注微信企业号?
    微信企业号通讯录有什么用?
  • 原文地址:https://www.cnblogs.com/mhc-fly/p/8194575.html
Copyright © 2011-2022 走看看