你IDE打开的目录级别不对,导致找不到items.py这个文件。建议在第一个2个tencent处打开即左侧的目录应该为tencent>spideritems.pymiddleware.py....scrapy.cfg