【问题标题】:Error while crawling using scrapy使用scrapy抓取时出错
【发布时间】:2018-10-12 21:47:36
【问题描述】:

我正在使用 scrapy 来抓取一些页面,但是每当我尝试启动爬虫时,它就会停止并出现以下错误。

from OpenSSL._util import lib as pyOpenSSLlib
ImportError: No module named _util

我已经安装了 pyopenssl v13.1。 brew link openssl 也被执行。如果我遗漏了什么,请告诉我。

操作系统 - Mac OS High Sierra Python - V2.7 画中画 - 10.1

【问题讨论】:

  • 你能找到任何东西,面临完全相同的问题
  • 切换到 casperjs :)

标签: python scrapy


【解决方案1】:

这是版本问题用代码更新吧 pip install --upgrade --ignore-installed pyopenssl

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-03-19
    • 1970-01-01
    • 1970-01-01
    • 2022-12-07
    • 1970-01-01
    • 1970-01-01
    • 2013-05-09
    相关资源
    最近更新 更多