Python学习常见问题及其解决方案(1)

1、ModuleNotFoundError: No module named 'urllib2'
解决方案:
1)https://blog.csdn.net/weixin_45598506/article/details/112303268
2)https://blog.51cto.com/yunyaniu/2912681


2、ModuleNotFoundError: No module named 'cookielib'
解决方案
1)https://blog.csdn.net/sam_the_best/article/details/104228914


3、urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
解决方案
1)https://blog.csdn.net/weixin_46107120/article/details/120688455


4、ModuleNotFoundError: No module named 'scrapy'
解决方案
1)https://jingyan.baidu.com/article/cbf0e500d774746fab28930b.html


5、Unknown command: crawl
解决方案
https://blog.csdn.net/u012490863/article/details/54743479/


6、ModuleNotFoundError: No module named 'scrapy_redis'
解决方案
pip install scrapy_redis


7、No module named 'scrapy.conf'
解决方案:https://my.oschina.net/Unsuited/blog/5439808


8、ModuleNotFoundError: No module named 'bs4'
解决方案:https://blog.csdn.net/weixin_47542175/article/details/113842868


9、pip demjson报错
解决方案:https://blog.csdn.net/UUUUUnnn/article/details/124402924

posted @ 2022-08-30 11:21  GoodTimeGGB  阅读(28)  评论(0编辑  收藏  举报