Bitwise-01 / Loki

Remote Access Tool
MIT License
573 stars 218 forks source link

cannot import name const #13

Open Apolly007 opened 5 years ago

Apolly007 commented 5 years ago

im getting this error when I try to execute it

root@kaliRoman:/media/root/46DD-8D02/Windows/programs/botnet/Loki-master# python loki.py Traceback (most recent call last): File "loki.py", line 9, in from lib.server.server import Server File "/media/root/46DD-8D02/Windows/programs/botnet/Loki-master/lib/server/server.py", line 8, in from lib import const ImportError: cannot import name const root@kaliRoman:/media/root/46DD-8D02/Windows/programs/botnet/Loki-master# python2 loki.py Traceback (most recent call last): File "loki.py", line 9, in from lib.server.server import Server File "/media/root/46DD-8D02/Windows/programs/botnet/Loki-master/lib/server/server.py", line 8, in from lib import const ImportError: cannot import name const root@kaliRoman:/media/root/46DD-8D02/Windows/programs/botnet/Loki-master# python3 loki.py Traceback (most recent call last): File "loki.py", line 10, in from flask import Flask, render_template, request, session, jsonify, redirect, url_for ModuleNotFoundError: No module named 'flask'

I've tried python, python2 and python3 didn't work I've got python 2.7 (I've pasted everything that's written) thx for helping....

EZRAIDv2 commented 2 years ago

Use pip3 install flask in terminal.