Bitwise-01 / Loki

Remote Access Tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot import name const

Apolly007 opened this issue · comments

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....

Use pip3 install flask in terminal.