Scrapy module error, builtins.ImportError appear: DLL load failed: Can not find the specified program

Problem Description : Initial learning scrapy, create project error reptiles use scrapy official documents,

DLL load failed:: Can not find the specified program, builtins.ImportError appear

ImportError: DLL load failed: Can not find the specified module.

 

The reason: scrapy module installation conflicts, and my python Anaconda both installed scrapy module, it has been an error in the implementation of my reptiles project.

Solution : Uninstall one scrapy module, type in the command:

pip unstall scrapy

 

Then, enter scrapy, success scrapy display module functions and version information.

 

Test : Enter scrapy bench, the successful use of the function module, and re-test their projects reptiles, perfect success.

In addition, if the test is still not successful, the module may be installed scrapy unsuccessful due to the success of the general scrapy 2 installation process will encounter the following two conditions:

1. When: VC ++ 14.0 Twisted error (windows computers and desktop)

Solution: Your computer missing VC ++ 14.0 Twisted framework, it is necessary to install off-line, off-line installation .whl general need to download a file, Download: https://www.lfd.uci.edu/~gohlke/pythonlibs/

According to error download the appropriate file whl, Twisted error, you need to download Twisted.whl file, by pip install xxx.whl code installed.

2. Install the success scrapy, and enter scrapy success in the Command box, but the input: scrapy bench failed to run win32 errors will be reported.

解决:pip install pywin32

 

Guess you like

Origin www.cnblogs.com/maxxu11/p/12404817.html