Closed robertoceb closed 2 years ago
I use python 3.9
Could you tell me the version of flask?
Run this command
pip freeze | grep flask
sorry for delay this is result ┌──(root💀kali)-[/home/rober/iKy] └─# pip freeze | grep flask
┌──(root💀kali)-[/home/rober/iKy] └─# 1 ⨯
I must update the package dependencies. In the meantime, try with this
pip install Flask=2.1.0
Fixed on 1255a8835f29a2a2a28b9da38af0a61a3b636141
In Easy installation (Python only) when execute this part python app.py -e prod i have this error in command line
┌──(root💀kali)-[/home/rober/iKy/backend] └─# python3 app.py -e prod 1 ⨯ Traceback (most recent call last): File "/home/rober/iKy/backend/app.py", line 2, in
from factories.application import create_application
File "/home/rober/iKy/backend/factories/application.py", line 2, in
from flask import Flask
File "/usr/local/lib/python3.10/site-packages/flask/init.py", line 19, in
from . import json
File "/usr/local/lib/python3.10/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.10/site-packages/itsdangerous/init.py)
Can you help me?? Thanks