-scrapy startproject时,报错 from cryptography.hazmat.bindings._openssl import ffi, lib的解决方法

使用的是anaconda搭建环境,python3.7,在使用scrapy startproject xxx时,报错:
from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: DLL load failed: 找不到指定的程序。
解决方法:参考https://blog.csdn.net/joe861011/article/details/78406906

在这里依次运行下面的命令:
python3 -m

pip uninstall pyopenssl
pip uninstall cryptography
pip install pyopenssl
pip install cryptography
成功!

posted @ 2020-08-30 16:11  nmydt  阅读(995)  评论(0编辑  收藏  举报