Loki icon indicating copy to clipboard operation
Loki copied to clipboard

error

Open emans841 opened this issue 7 years ago • 7 comments

python loki.py Traceback (most recent call last): File "loki.py", line 9, in from lib.server.server import Server File "/root/Desktop/Loki/lib/server/server.py", line 8, in from lib import const ImportError: cannot import name const

please help

emans841 avatar Oct 26 '18 15:10 emans841

@emans841 could you provide complete steps you used in order to generate this error?

m-henderson avatar Nov 03 '18 15:11 m-henderson

After pip install -r requirements and configuring const.py and trying to start looking.py with python loki.py is when that error comes up.

Codeliquid85 avatar Nov 05 '18 20:11 Codeliquid85

Sorry autocorrect loki.py

Codeliquid85 avatar Nov 05 '18 20:11 Codeliquid85

Do you run it with python 3.6?

edgaru avatar Nov 08 '18 02:11 edgaru

I'll have to check when I get in front of my computer should it be 3.6 or a different version

Codeliquid85 avatar Nov 08 '18 16:11 Codeliquid85

It's version 2.7.15

Codeliquid85 avatar Nov 08 '18 18:11 Codeliquid85

Running with python3 fixed it

Codeliquid85 avatar Nov 08 '18 18:11 Codeliquid85