iilunin / crypto-bot

Binance crypto bot which supports smart entry, trailing stop-losses and take profits, multiple exit targets, One-Cancels-the-Other functionality, UI Interface
Apache License 2.0
247 stars 51 forks source link

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

Open trendsterfr opened 2 years ago

trendsterfr commented 2 years ago

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)