Skip to content

Instantly share code, notes, and snippets.

@tikurahul
Last active February 24, 2019 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tikurahul/c1b4f638c3e03b95ccae3a8ca7c418a0 to your computer and use it in GitHub Desktop.
Save tikurahul/c1b4f638c3e03b95ccae3a8ca7c418a0 to your computer and use it in GitHub Desktop.
# setup piwheels
# https://www.raspberrypi.org/blog/piwheels/
sudo apt update -y
sudo apt upgrade -y
#helpful libraries (2 min)
sudo apt install build-essential python3-dev python3-distlib python3-setuptools python3-pip python3-wheel -y
sudo apt-get install git cmake pkg-config -y
sudo apt-get install libjpeg-dev libtiff5-dev libpng-dev -y
sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev -y
sudo apt-get install libxvidcore-dev libx264-dev -y
sudo apt-get install libatlas-base-dev gfortran -y
sudo apt install libzmq3-dev -y
sudo apt install xsel xclip -y
sudo apt install python3-h5py -y
#install numpy and pandas (3 min)
sudo apt install libxml2-dev python3-lxml -y
sudo apt install libxslt-dev -y
#remove python2 (1 min)
sudo apt-get remove python2.7 -y
sudo apt-get autoremove -y
#install redis-server (1 min)
sudo apt install redis-server -y
# Follow instructions from https://www.pyimagesearch.com/2018/09/26/install-opencv-4-on-your-raspberry-pi/
pip install tensorflow==1.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment