-
1Step 1
These are the instruction to install the environment for do the FFT in the RPi:
$ sudo apt-get install libblas-dev $ sudo apt-get install liblapack-dev $ sudo apt-get install python-dev $ sudo apt-get install libatlas-base-dev $ sudo apt-get install gfortran $ sudo apt-get install python-setuptools $ sudo easy_install scipy $ sudo apt-get install python-matplotlib
Source: http://wyolum.com/numpyscipymatplotlib-on-raspberry-pi/
-
2Step 2
These are the instruction to install the environment for TensorFlow in the RPi:
$ sudo apt-get update $ python --version $ sudo apt-get install python-pip python-dev $ wget https://github.com/samjabrahams/tensorflow-on-raspberry-pi/raw/master/bin/tensorflow-0.9.0-cp27-none-linux_armv7l.whl $ sudo pip install tensorflow-0.9.0-cp27-none-linux_armv7l.whl
-
3Step 3
These are the instruction to install the environment for Thinkspeak, local, in the RPi:
$ sudo apt-get -y install build-essential git mysql-server mysql-client libmysqlclient-dev libxml2-dev libxslt-dev libssl-dev libsqlite3-dev $ mysql --user=root mysql -p raspberry_pass_ownUSer $ mysql> CREATE USER 'thing'@'localhost' IDENTIFIED BY 'speak’; $ mysql> GRANT ALL PRIVILEGES ON *.* TO 'thing'@'localhost' WITH GRANT OPTION; $ mysql> commit; $ mysql> exit; $wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.5.tar.gz $tar xvzf ruby-2.1.5.tar.gz $cd ruby-2.1.5 && ./configure $ make && sudo make install && cd .. $ echo "gem: --no-rdoc --no-ri" >> ${HOME}/.gemrc $ sudo gem install rails -v 4.1.10 $ sudo bundle update $ sudo chmod -R 777 /usr/local/lib/ruby/gems/2.5.0/ $ gem install json $ git clone https://github.com/iobridge/thingspeak.git $ cp thingspeak/config/database.yml.example thingspeak/config/database.yml $ cd thingspeak $ bundle install -V $ bundle exec rake db:create $mysql --user=root mysql -p $mysql> show databases; #+---------------------------- + #| Database | #+---------------------------- + #| information_schema | #| mysql | #| performance_schema | #| thingspeak_development | #| thingspeak_test | #+------------------------------+ $mysql> exit; $bundle exec rake db:schema:load $rails server webrick
Source: http://www.esp8266-projects.com/2015/11/raspberry-pi2-thingspeak-on-jessie.html -
4Step 4
These are the instruction to install Kivy in the RPi:
$ sudo apt-get update $ sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev \ pkg-config libgl1-mesa-dev libgles2-mesa-dev \ python-setuptools libgstreamer1.0-dev git-core \ gstreamer1.0-plugins-{bad,base,good,ugly} \ gstreamer1.0-{omx,alsa} python-dev cython $ git clone https://github.com/kivy/kivy $ cd kivy $ make $ echo "export PYTHONPATH=$(pwd):\$PYTHONPATH" >> ~/.profile $ source ~/.profile
Source: https://kivy.org/docs/installation/installation-rpi.html
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.