2023-10-18 00:19:10 +01:00
|
|
|
# Pre-Requisites
|
|
|
|
|
|
|
|
Install python 3.8 or above on your machine:
|
|
|
|
|
2023-10-18 12:06:07 +01:00
|
|
|
* Windows: https://www.python.org/downloads/windows/
|
|
|
|
* Mac OS X: https://www.python.org/downloads/macos/
|
2023-10-18 00:19:10 +01:00
|
|
|
* Linux: see your distro docs (on Debian/Ubuntu `sudo apt install python3` should work)
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
Install git:
|
|
|
|
|
|
|
|
https://git-scm.com/downloads
|
|
|
|
|
|
|
|
Install virtualenv:
|
|
|
|
|
|
|
|
$ pip install virtualenv
|
|
|
|
|
|
|
|
# Download requirements
|
|
|
|
|
2023-10-18 13:39:01 +01:00
|
|
|
$ git clone https://github.com/jimmysong/learntaproot
|
|
|
|
$ cd learntaproot
|
2023-10-18 00:19:10 +01:00
|
|
|
$ 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
|
|
|
|
|
|
|
|
# Run jupyter notebook
|
|
|
|
|
|
|
|
(.venv) $ jupyter notebook
|
2023-10-18 12:06:07 +01:00
|
|
|
|
|
|
|
# Open the slides
|
|
|
|
|
|
|
|
(.venv) $ open index.html
|