Use anaconda to create a new srcapy environment + DDL problem solving

Anacoda some commonly used commands

  • conda create -n scrapy python=3.7
    (create a new environment named scrapy and python version 3.7)

  • conda env list
    (see all the environment lists)

  • activate scrapy
    (choose the environment named scrapy)


  • 1.conda create -n scrapy python=3.7 (I have already created it)
  • 2.conda env list
    Insert picture description here
  • 3.activate scrapy
    Insert picture description here
  • 4.codna install scrapy

pip install scrapy should be the same, but mine is wrong, just use conda install scrapy. . . I don't know why. After this is installed, you can enter scrapy and it will show you the version, so that the first step is successful

  • 5. scrapy startproject scrapy_demo
    created a scrapy project called scrapy_demo, mine was an error:
    DDL could not find the specified program
    1.pip install -I cryptography (I don’t know if this is useful or not, after installing it, it’s above the DDL The error becomes import _ssl DDL: Cannot find the specified program)
    2. Then I searched a lot on the Internet, tried a lot, and finally found one to download a thing: Link: Win32OpenSSL, find the version of your computer, download it and install it. Up:

Insert picture description here
I will leave a 64-bit OpenSSL here, which is included in my resources, because it seems that the download will be slower if you don’t cross the wall. I’ve already downloaded it, so I don’t want points.

Guess you like

Origin blog.csdn.net/weixin_44061648/article/details/105409567