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
- 3.activate scrapy
- 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:
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.