crypto-bot icon indicating copy to clipboard operation
crypto-bot copied to clipboard

ImportError: cannot import name 'json' from 'itsdangerous'

Open trendsterfr opened this issue 2 years ago • 0 comments

Hi Igor

Thanks for your nice job , unfortunately when I try to run your docker image both on an Ubuntu or a Mac I consistently get the following error message ... I am not a docker expert, any thought ?

Thanks in advance.

Traceback (most recent call last):

File "main.py", line 9, in

from API.APIServer import APIServer

File "/usr/src/app/API/APIServer.py", line 4, in

from flask import Flask, app, render_template

File "/usr/local/lib/python3.7/site-packages/flask/init.py", line 19, in

from . import json

File "/usr/local/lib/python3.7/site-packages/flask/json/init.py", line 15, in

from itsdangerous import json as _json

ImportError: cannot import name 'json' from 'itsdangerous' (/usr/local/lib/python3.7/site-packages/itsdangerous/init.py)

trendsterfr avatar Mar 14 '22 18:03 trendsterfr