This is a quick guide about how to prepare a Raspberry Pi to host ML projects.
- Use Raspbian OS
Use Raspbian OS
You can donwload this OS in two ways from here here. An app to install the OS into a SD card from your computer or a second way to manually install it.
Use the distrubution fit your way.
Troubleshooting:
Can’t read the SD card
If you face this issue, you can download a sofwtare for SD formatting from here. This will completetly remove and erase all SD contents.
- Install NODE / Yarn
We’ll last version of NODE as it explains here:
Node.js v14.x:
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
Yarn shows the steps to follow per OS here:
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn
Install pip
sudo apt-get install python-pip -y
docker and docker-compose
https://withblue.ink/2019/07/13/yes-you-can-run-docker-on-raspbian.html