The location of your packages depends on where python is installed - it totally varies from environment to environment.
In our case, the location of the
grovepi module is going to be the path to the
grovepi module/file that’s found in the repository.
So, if you download the
GrovePi repo and then you run the
install.sh script, the
grovepi module you are going to use system-wide when you import it in a python script is going to be the
grovepi file that’s found in the repository.
Looking at your
ImportError you got, it seems like
RPi.GPIO is not installed on your system and without it, you won’t be able to use the
grovepi package. This makes me think the install command didn’t get through.
Can you tell us what steps you have followed in order to get the
grovepi module installed?
Also, can you import the
grovepi module after you run the
sudo pip install RPi.GPIO and tell us if it worked?
Generally, if you want to quick-install the
GrovePi, I would use the following command:
sudo curl -kL dexterindustries.com/update_grovepi | bash
Though, please be advised that we haven’t tested the
GrovePi on other platforms other than the
Raspberry Pi, so we are not sure if what you’re trying to do is going to work.