profile
viewpoint

Ask questionsOSError: [Errno 22] Invalid argument:

我在项目的baike目录下运行scrapy crawl baike,结果报错“OSError: [Errno 22] Invalid argument: 'D:\code\program\WEB_KG-master\baike\logs\Sun_Mar_22_21:30:37_2020.log' ”,请问该怎么解决呢?感激不尽! }69AD$0HQQX15)QEG(3DB8G

lixiang0/WEB_KG

Answer questions lixiang0

@lixiang0 WEB_KG_0\baike\logs\的logs目录下为空

如果路径完全正确,那应该就是文件名的问题,先把logger这块注释掉吧,不影响。

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List