Install python 3.5 or above on your machine:
- Windows: https://www.python.org/ftp/python/3.6.2/python-3.6.2-amd64.exe
- Mac OS X: https://www.python.org/ftp/python/3.6.2/python-3.6.2-macosx10.6.pkg
- Linux: see your distro docs
Install pip:
Download this script: https://bootstrap.pypa.io/get-pip.py
Run (you may need to specify python3 if you also have python2 installed)
$ python get-pip.py
or
$ python3 get-pip.py
Install git:
Install virtualenv:
$ pip install virtualenv
$ git clone https://github.com/jimmysong/longhorn
$ cd longhorn
$ virtualenv -p python3 .venv
Linux/OSX:
$ . .venv/bin/activate
(.venv) $ pip install -r requirements.txt
Windows:
> .venv\Scripts\activate.bat
> pip install -r requirements.txt
(.venv) $ jupyter notebook