Skip to content

Part 2. GrovePi Python Setup

jrbail01 edited this page Oct 19, 2016 · 4 revisions

We need to install the GrovePi software onto our Pi to make reading Grove sensors super easy. We will follow the instructions listed at http://www.dexterindustries.com/GrovePi/get-started-with-the-grovepi/setting-software/ and add one step at the end.

The TL;DR version is as follows:

$ cd /home/pi/Desktop
$ sudo git clone https://github.com/DexterInd/GrovePi
$ cd /home/pi/Desktop/GrovePi/Script
$ sudo chmod +x install.sh
$ sudo ./install.sh
$ sudo pip install grovepi

The step, "$ sudo ./install.sh", will take ~five minutes. Be patient.

The last step, "$ sudo pip install grovepi", allows us to import the grovepi Python library from any directory on our Pi. If you skip this step, you will have to create all of your GrovePi projects within the /home/pi/Desktop/GrovePi/Software/Python directory (which is icky).

<< Part 2: GrovePi Zero Software - Part 3: GrovePi Zero Project - Compact Environmental Monitor >>