logpai / logparser

A machine learning toolkit for log parsing [ICSE'19, DSN'16]

Home Page:https://logparser.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not able to reproduce results using benchmark

DeepaliBhanage opened this issue · comments

Hello,
I am trying to run a benchmark file for a spell as well as a drain but getting error as " ImportError: cannot import name 'Spell' from 'logparser' (C:\Users\Dell\anaconda3\lib\site-packages\logparser_init_.py)
"
Please guide me how to handle this error. I have created an environment as said in the instructions.

Thanks for your interest in our project.

It is possible that you didn't put the parser files in the right path.

You could also take a look at the doc. to check the dependencies: https://logparser.readthedocs.io/en/latest/installation/dependency.html

Usually, that should work. After git clone the repo., run

$cd /logparser/demo/
$python Spell_demo.py

If that doesn't work, you could try with Python 2.7, or use the docker images as mentioned in our document.

Hope it helps.

Yes. It's working.....
Thank you so much for your help