TypeError

Author: Locf74Created Jul 10, 2025Updated Jul 10, 2025
Labelsoperation problem

(.venv) yyy@raspberrypi:~/wukong-robot $ python3 wukong.py


  •      wukong-robot - 涓枃璇煶瀵硅瘽鏈哄櫒浜?          *
  •      (c) 2019 娼樹紵娲?<[email protected]>              *
  • https://github.com/wzpan/wukong-robot.git        *

        鍚庡彴绠$悊绔細http://0.0.0.0:5000
        濡傞渶閫€鍑猴紝鍙互鎸?Ctrl-4 缁勫悎閿?

Traceback (most recent call last): File "/home/yyy/wukong-robot/wukong.py", line 271, in wukong.run() File "/home/yyy/wukong-robot/wukong.py", line 115, in run self.init() File "/home/yyy/wukong-robot/wukong.py", line 51, in init self._observer.schedule(event_handler, constants.CONFIG_PATH, False) TypeError: BaseObserver.schedule() takes 3 positional arguments but 4 were given。运行python3 wukong.py,请问这个该如何解决呢