Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name JSONDecodeError #31

Open
nasimulhasan opened this issue Sep 8, 2021 · 1 comment
Open

ImportError: cannot import name JSONDecodeError #31

nasimulhasan opened this issue Sep 8, 2021 · 1 comment

Comments

@nasimulhasan
Copy link

When I run bacend.py, the error occurs

Traceback (most recent call last):
File "backend.py", line 3, in
from json import JSONDecodeError
ImportError: cannot import name JSONDecodeError

@Phype
Copy link
Owner

Phype commented Sep 21, 2021

First, i'm not working on this project. You could try to remove the import line and replace JSONDecodeError with ValueError, this should work according to this question. If it works, tell me and i'll commit a patch (or submit a PR).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants