marchtea / scrapy_doc_chs

scrapy中文翻译文档
1.11k stars 410 forks source link

pipelines 中 from scrapy.crawler.Crawler import settings 提示 ModuleNotFoundError #100

Open shushashu opened 3 years ago

shushashu commented 3 years ago

我在 pipelines 中希望导入settings 但是出现了异常

File "xxx/spider/proxy/proxy/proxy/pipelines.py", line 8, in <module> from scrapy.crawler.Crawler import settings ModuleNotFoundError: No module named 'scrapy.crawler.Crawler'; 'scrapy.crawler' is not a package