Traceback (most recent call last):
File "d:\Git\mimikkoAutoSignV4\main.py", line 42, in <module>
from task.task_travel import task_travel
File "d:\Git\mimikkoAutoSignV4\task\task_travel.py", line 9, in <module>
travel_log = Logger(
File "d:\Git\mimikkoAutoSignV4\util\logger.py", line 50, in __init__
fh = logging.FileHandler(filename=filename, encoding="utf-8")
File "C:\Users\qq106\AppData\Local\Programs\Python\Python310\lib\logging\__init__.py", line 1169, in __init__
StreamHandler.__init__(self, self._open())
File "C:\Users\qq106\AppData\Local\Programs\Python\Python310\lib\logging\__init__.py", line 1201, in _open
return open_func(self.baseFilename, self.mode,
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\Git\\mimikkoAutoSignV4\\log\\travel.log'
在Python 3.10以上的版本没有创建log文件夹导致输出以下报错: