-
Notifications
You must be signed in to change notification settings - Fork 153
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
json package error on fresh install #363
Comments
Yea got the same error, Ubuntu Server 21.10 "Impish Indri" (64bits) |
I was able to fix it by manually installing |
Same issue ubuntu server 21.10 |
Summary
Found this issue at runtime: ImportError: cannot import name 'json' from 'itsdangerous' on Ubuntu 20.04 LTS Server
... and found a workaround to fix it
Full Error Message
Workaround
Noticed this message on this page: itsdangerous Changelog
"Importing itsdangerous.json is deprecated. Import Python’s json module instead."
Modified: /home/sa/lxdui/lib/python3.8/site-packages/Flask-1.0.2-py3.8.egg/flask/json/init.py
It's a bit of a hack but it seems to work. Happens on fresh install with Ubuntu 20.04 LTS Server.
Dave
The text was updated successfully, but these errors were encountered: