Skip to content

Installation

Marc-Olivier Buob edited this page Jun 27, 2019 · 6 revisions

Install dependencies

Debian, Ubuntu, etc.

sudo apt-get update
sudo apt-get install git graphviz python3 python3-notebook python3-numpy python3-pytest

Windows

Install lstar

From you shell (cygwin / Git bash if you are under Windows)

mkdir ~/git
cd ~/git
git clone https://github.com/nokia/regexp-learner
cd ~/git/regexp-learner
sudo python3 ./setup.py install

Tests

  1. Check if you can import ̀lstar ̀ from your Python3 interpreter.
python3
>>> import lstar
  1. Go to regexp-learner/tests directory and run:
pytest-3
Clone this wiki locally