Anaconda crawler frame mounting Scrapy

1. Check conda has some package

conda list

Here Insert Picture Description

2. Install Scrapy

conda install scrapy

    The correct result
Here Insert Picture Description
    reasons for this error is that there is no way to start CMD as an administrator
Here Insert Picture Description

3. Installation dependencies

conda install service_indentity

Here Insert Picture Description

Solution 4. When CondaHTTPError: Added mirroring Tsinghua University

    conda only source of domestic Tsinghua, modify the source simply enter the following two commands:

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes

Here Insert Picture Description
    C: \ Users \ username condarc modify configuration files, delete the third row
Here Insert Picture Description
Here Insert Picture Description

5. Create a new folder python, import scrapy, without being given the installation is successful

Here Insert Picture Description

Published 25 original articles · won praise 7 · views 2168

Guess you like

Origin blog.csdn.net/qq_41506111/article/details/102665659