1、在cmd中输入scrapy crawl mySpider 提示如下

D:\python_crawl\crawl_software>scrapy crawl mySpider
Scrapy 1.3.0 - no active project

Unknown command: crawl

Use “scrapy” to see available commands
原因:

没有cd到项目根目录,因为crawl会去搜搜cmd目录下的scrapy.cfg