Skip to content

Instantly share code, notes, and snippets.

@bhargavrpatel
Created October 26, 2014 22:20
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 bhargavrpatel/0d76562d0b9e9c13557f to your computer and use it in GitHub Desktop.
Save bhargavrpatel/0d76562d0b9e9c13557f to your computer and use it in GitHub Desktop.
How to setup wiringpi2 for Python3
# Install python3-dev and python3-setuptools
sudo apt-get install build-essential python3-dev python3-setuptools \
python3-numpy python3-scipy \
libatlas-dev libatlas3gf-base
# Install wiringpi itself
git clone git://git.drogon.net/wiringPi && cd wiringPi && sudo ./build && cd ..
# Install wiringpi2 for Python3
git clone https://github.com/Gadgetoid/WiringPi2-Python.git && cd WiringPi2-Python && sudo python3 setup.py install && cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment