Generally tried to do what this say https://www.dexterindustries.com/GrovePi/get-started-with-the-grovepi/
but there are few things to run before running the
sudo curl -kL dexterindustries.com/update_grovepi | bash
sudo apt-get update
sudo apt --fix-broken install -y
sudo apt-get remove wiringpi -y
sudo apt-get install git-core gcc make libffi6 libffi-dev software-properties-common python-setuptools -y
cd ~
mkdir ~/work/github
cd ~/work/github
git clone https://github.com/WiringPi/WiringPi --branch master --single-branch wiringpi
mkdir ~/work/github
cd ~/work/github
git clone https://github.com/WiringPi/WiringPi --branch master --single-branch wiringpi
cd wiringpi/
sudo ./build
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
python get-pip.py
curl -sSL https://pi4j.com/install | sudo bash
No comments:
Post a Comment