kennbroorg / iKy

OSINT Project. Collect information from a mail. Gather. Profile. Timeline.
https://kennbroorg.gitlab.io/ikyweb/
GNU General Public License v3.0
831 stars 149 forks source link

Problem with backend #77

Closed robertoceb closed 2 years ago

robertoceb commented 2 years ago

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

KennBro commented 2 years ago

I use python 3.9 Could you tell me the version of flask? Run this command pip freeze | grep flask

robertoceb commented 2 years ago

sorry for delay this is result ┌──(root💀kali)-[/home/rober/iKy] └─# pip freeze | grep flask

┌──(root💀kali)-[/home/rober/iKy] └─# 1 ⨯

KennBro commented 2 years ago

I must update the package dependencies. In the meantime, try with this

pip install Flask=2.1.0
KennBro commented 2 years ago

Fixed on 1255a8835f29a2a2a28b9da38af0a61a3b636141