Open caeken opened 1 year ago
Hey sorry! All this code is super early alpha I haven't really prepped it for release. It looks like you are using python 3.4. I developed this with 3.11 so try updating your python installation and then see if it works.
An error occurred while running the program, prompting the following message:
Traceback (most recent call last): File "main.py", line 2, in
from flask_app import start_flask_app, stop_flask_app
File "/usr/src/app/flask_app.py", line 2, in
from flask_socketio import SocketIO, send
File "/usr/local/lib/python3.4/site-packages/flask_socketio/init.py", line 21, in
import socketio
File "/usr/local/lib/python3.4/site-packages/socketio/init.py", line 3, in
from .client import Client
File "/usr/local/lib/python3.4/site-packages/socketio/client.py", line 7, in
import engineio
File "/usr/local/lib/python3.4/site-packages/engineio/init.py", line 3, in
from .client import Client
File "/usr/local/lib/python3.4/site-packages/engineio/client.py", line 2, in
from json import JSONDecodeError
ImportError: cannot import name 'JSONDecodeError'
I have tried many methods but failed to solve the problem. What is the reason?