Skip to content

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

@trendsterfr

Description

@trendsterfr

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions