将from mySpider.items import ItcastItem改成from ..items import ItcastItemsweb
在一个package中,同级使用 . 在父级使用 ..json
scrapy startproject mySpiderscrapy
scrapy crawl mySpideride
scrapy crawl mySpider -o teachers.jsonsvg