Scrapy ImportError: DLL load failed: 操作系统无法运行 %1

标签: , , , , ,

最近打算用Scrapy写爬虫,Windows下用Anaconda比较省心,成功安装了Scrapy,但是新建Scrapy项目时,直接报错。

from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: DLL load failed: 操作系统无法运行 %1。
  

Windows下果然还是不省心,看错误明显是OpenSSL库加载不成功,折腾了一番,终于找到了解决方法:把C:\Windows\System32目录下的libeay32.dll和ssleay32.dll删除即可(但是可能会对其他依赖这两个DLL的软件有影响)。

赞赏

微信赞赏支付宝赞赏

随机文章:

  1. MAX_PATH 还是 MAX_PATH + 1 ?
  2. 115网盘真实下载地址解析工具(Bookmarklet版)
  3. VBS调用WMI搜索文件
  4. eXeScope注册码算法
  5. windows从服务器同步时间

一条评论 发表在“Scrapy ImportError: DLL load failed: 操作系统无法运行 %1”上

  1. vexetron说道:

    感谢您!

vexetron 留下回复