i have a RPI 3 with Raspbian Buster with desktop. i try to run webiopi with the command line :sudo webiopi -d -c /etc/webiopi/config, and get this error.
File "/usr/lib/python3.7/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.7/runpy.py", line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/usr/lib/python3.7/runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "/usr/local/lib/python3.7/dist-packages/WebIOPi-0.7.1-py3.7-linux-armv7l.egg/webiopi/__init__.py", line 20, in <module>
from webiopi.utils.thread import runLoop
File "/usr/local/lib/python3.7/dist-packages/WebIOPi-0.7.1-py3.7-linux-armv7l.egg/webiopi/utils/thread.py", line 36
def runLoop(func=None, async=False):
^
SyntaxError: invalid syntax
.
i instaled last python version (3.7.4) but that dont fix the error.
What can i do?