无法进口沙皮

我正在尝试抓取一个网站。但是,我在VS Code编辑器中收到此错误:

Unable to import 'scrapy'pylint(import-error)

同样在提示下,当我运行搜寻器时,我收到此错误:

2020-05-17 08:48:08 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.d
rsaina.com/robots.txt> (referer: None)
2020-05-17 08:48:09 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.d
rsaina.com/ConsultationDoctor/%D9%85%D8%B4%D8%A7%D9%88%D8%B1%D9%87-%D8%A2%D9%86%
D9%84%D8%A7%DB%8C%D9%86/> (referer: None)
2020-05-17 08:48:09 [scrapy.core.scraper] ERROR: Spider error processing <GET ht
tps://www.drsaina.com/ConsultationDoctor/%D9%85%D8%B4%D8%A7%D9%88%D8%B1%D9%87-%D
8%A2%D9%86%D9%84%D8%A7%DB%8C%D9%86/> (referer: None)

有人可以帮我解决这个问题吗?

顺便说一句,我正在使用我抓取的最新版本(2.1.0)

评论