I know its been asked million times. However, I still can't figure out my situation.If I create minimal example, my folder structure looks like that:
.
├── Project_L
│ ├── __init__.py
│ ├── items.py
│ ├── middlewares.py
│ ├── pipelines.py
│ ├── settings.py
│ └── spiders
│ ├── First_sp.py
│ └── __init__.py
└── scrapy.cfg
items.py :
import scrapy
class ProjectLItem(scrapy.Item):
name = scrapy.Field()
And there's just one import line
from Project_L.items import ProjectLItem
I'm getting
'No module named Project_L.items'
Ok, I thought. That's my both right hands. I've downloaded Dimitrios Kouzis-Loukas "Learning Scrapy" book's samples from github. Spitting same error.