logpai / logparser

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configure logparser with python2.7

khawar-islam opened this issue · comments

If you are new here and configuring log parser with python2.7 then follow the below steps:

Steps

conda create -y -n logpare python=2.7
conda activate logpare

curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py # Fetch get-pip.py for python 2.7 
python2 get-pip.py
pip --version

pip install pandas==0.23.4
pip2 install scipy
pip install nltk==3.4.5
pip2 install scikit-learn

Now you can run the all demo files like python Drain_demo.py