error on CLI execution
sebastian-systemticks opened this issue · 3 comments
Hi,
after I pip install logmine
, I get the following error:
% logmine
Traceback (most recent call last):
File "/home/sebastian/.local/bin/logmine", line 3, in <module>
from src.run import run
File "/home/sebastian/.local/lib/python3.6/site-packages/src/run.py", line 2, in <module>
from log_mine import LogMine
ModuleNotFoundError: No module named 'log_mine'
What strikes me is, that logmine claims to be python 2
Line 19 in 27ae6ca
but the backtrace points to python3.6 site packages. I have multiple python versions installed.
Best
Sebastian
Hi @sebastian-systemticks, you can try the following:
python -m pip install logmine
python -m logmine
If it doesn't work you need to make sure the python
is linked to the python 2, try python --version
.
I'll update this to python 3 when I have the time 😄
Hey @trungdq88 ,
thanks for the quick response! I already tried that, but similar result:
/usr/bin/python: No module named logmine
% python --version
Python 2.7.17
When I get a chance, I will try to build it locally and see where that gets me.
It does work if I clone the repo and execute ./logmine
, though.