- Install node (> v16.16.0) + npm (8.17.0).
- Install python3 and venv
- Install Arduino and Teensy dependencies
- Download latest Arduino from https://www.arduino.cc/en/software which Teensy supports currently arduino-1.8.19
- Extract to {home}/bin/
- Follow instructions to configure Arduino IDE for Teensy https://www.pjrc.com/teensy/td_download.html
- Install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install wget
brew install wget
- Install Windows linux sub-system WSL use this to create python virtual environments (does not work for spark)
TODO better instructions!
The PS4-controller library has only been tested on Ubuntu and requires joystick:
sudo apt-get install joystick
If latex is needed e.g. for state-model sympy lib:
sudo apt install texlive-latex-extra dvipng
Python deps
sudo apt-get install libcairo2-dev libjpeg-dev libgif-dev
sudo apt install libgirepository1.0-dev
In the root project directory...
npm install
npm run install:venv
source env/bin/activate
(on Mac or Linux) /. env/Scripts/activate
(on GitBash Windows)npm run install:venv-deps
source env/bin/activate
(on Mac or Linux). env/Scripts/activate
(on GitBash Windows)
- Install spark, start a worker and a master.
- where you want to run pyspark
sudo apt-get install default-jdk -y
sudo apt-get install gcc libpq-dev -y
sudo apt-get install python3-dev python3-pip python3-venv python3-wheel -y
- pip3 install wheel
- pip3 install pandas
- pip3 install PyArrow
- pip3 install pyspark
Todo export PATH="/c/Program Files/Java/jdk-18.0.1.1/bin:$PATH" https://sparkbyexamples.com/pyspark/how-to-install-and-run-pyspark-on-windows/
Todo