When I try to run scrapy I get this error ImportError: No module named items
I just added in items.py the list of things I want to scrape and in the spider.py I have imported the class with from spider.items import SpiderItem
Dont know why its not loading it...
Package layout is...
./spider
./spider/pipelines.py
./spider/settings.py
./spider/spiders
./spider/spiders/spider_spider.py
./spider/spiders/test.py
./spider/spiders/__init__.py
./spider/middlewares.py
./spider/__init__.py
./spider/items.py
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…