编写mian,py,然后运行会报错,这个怎么解决呢?

来源:2-7 spider文件的编写(2)

ZmeA

2019-12-10 17:45

D:\douban\venv\Scripts\python.exe D:/douban/douban/main.py

Traceback (most recent call last):

  File "D:/douban/douban/main.py", line 1, in <module>

    from scrapy import cmdline

ModuleNotFoundError: No module named 'scrapy'


Process finished with exit code 1


写回答 关注

1回答

  • qq_飞鸟_35
    2020-06-29 14:32:21

    scrapy没安装成功吧


Python最火爬虫框架Scrapy入门与实践

做为爬虫工程师Python Scrapy主流爬虫框架你必须要会!

67418 学习 · 223 问题

查看课程

相似问题