Solution to Anaconda installation scene error

Today, I encountered a pit when installing the script with anaconda. Now I’ll send out the solution for your reference:

Problem Description:

Anaconda installs the sweep and uses the CONDA install sweep command. After the installation is completed, execute the scratch prompt on the command line and report an error, as shown in the figure:

Installation under windows is like this… DLL load failed

Solution:

When you install directly using scratch, you will be prompted that the lxml module is not installed properly. Manual reinstallation is required

1. Find lxml file

Address: https://www.lfd.uci.edu/ ~gohlke/pythonlibs/#lxml

2. Download the corresponding xlml file. I downloaded lxml ‑ 4.2.4 ‑ cp36 ‑ cp36m ‑ win for windows 64 bit_amd64.whl

3. After downloading, open CMD to enter the file directory for execution

    pip install   lxml‑4.2.4‑cp36‑cp36m‑win_amd64.whl

  

OK, see the prompt that the installation is successful

4. Verify the results and execute the script again:

  

  ok。 Success

5. Create a crawler project and try the following:

  

Done

  

Attached:

Anaconda image source address of Tsinghua University:

   https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/

Download address of lxml and other installation packages:

   https://www.lfd.uci.edu/ ~gohlke/pythonlibs/#lxml

 

Similar Posts: