windows10中文 ,python3.7.9,第一步启动安装报错
C:\Users\Administrator\Desktop\Komo>python3 Komo.py install
Traceback (most recent call last):
File "Komo.py", line 14, in
from core.tools.emailcollect import emailcollect_main
File "C:\Users\Administrator\Desktop\Komo\core\tools\emailcollect\emailcollect_main.py", line 144, in
@logger.catch
File "D:\Python37\lib\site-packages\loguru_logger.py", line 1215, in catch
return self.catch()(exception)
File "D:\Python37\lib\site-packages\loguru_logger.py", line 1254, in call
"not a class (tried to wrap '%s')" % function.name
TypeError: Invalid object decorated with 'catch()', it must be a function, not a class (tried to wrap 'manager')
windows10中文 ,python3.7.9,第一步启动安装报错 C:\Users\Administrator\Desktop\Komo>python3 Komo.py install Traceback (most recent call last): File "Komo.py", line 14, in
from core.tools.emailcollect import emailcollect_main
File "C:\Users\Administrator\Desktop\Komo\core\tools\emailcollect\emailcollect_main.py", line 144, in
@logger.catch
File "D:\Python37\lib\site-packages\loguru_logger.py", line 1215, in catch
return self.catch()(exception)
File "D:\Python37\lib\site-packages\loguru_logger.py", line 1254, in call
"not a class (tried to wrap '%s')" % function.name
TypeError: Invalid object decorated with 'catch()', it must be a function, not a class (tried to wrap 'manager')