Scrapy error when creating a project "from cryptography hazmat bindings._ ope ImportError:.. DLL load failed: The specified module could not be found."

1. The questions are as follows

Here Insert Picture Description

2. Problem Cause

    from cryptography. hazmat. bindings._ openssl import ffi, lib
ImportError: DLL load faile:找不到指定的程序

Here it suggesting less from cryptography.hazmat.bindings._openssl import ffi, lib, then we manually install the library on it.

3. Solution

We manually install the missing cryptography

pip install -I cryptography

4. Create a project success

scrapy startproject scrapyTestProject

Here Insert Picture Description

5. Discussion

Scrapy online that need to uninstall, and then reinstall scrapy library can be, this method is that the developers do not see the development of English prompts, so very important to learn English, the English language is a very useful tool that can open up horizons of our development. In this way you can not solve the problem. The method I use is to solve the problem directly.

Here is the method used by online invalid

1. Execute the following command

With pip uninstall scrapy and conda remove scrapy twice uninstall scrapy, and then reinstall

pip uninstall scrapy
conda remove scrapy

2. Delete the file

The c: / windows / ssleay32.dll and libeay32.dll two files in the system32 directory delete

Published 32 original articles · won praise 16 · views 40000 +

Guess you like

Origin blog.csdn.net/qq_40651609/article/details/104817156