Running NuPIC on Raspberry Pi

THESE INSTRUCTIONS DON’T WORK

But I wanted to keep them in case someone else takes up the task - @rhyolight

Requirements

  • Minimum of 8GB SD card
  • Download and install a Raspbian image
  • Set up 1GB of swap space

Install Required Libraries

  1. Run cmd: sudo apt-get upgrade
  2. Run cmd: sudo apt-get install automake libtool python-dev gcc-4.7 g++-4.7 swig libboost-dev libjpeg62-dev
  3. download and install setuptools from setuptools · PyPI
  4. download and install pip from pip · PyPI

Get Code and Build

  1. Run cmd: git clone https://github.com/keithcom/nupic.git
  2. edit ~/.bashrc as per the nupic/README.md
  3. Run cmd: source ~/.bashrc
  4. Run cmd: $NUPIC/build.sh

Note that the full build process may take 6 hours to complete, so be patient. The output of the build process is at $BUILDDIR/stdout.txt. You can view the progress in real time with the following command.

tail -f $BUILDDIR/stdout.txt

Use Ctrl-C to stop viewing the output file. Once the build is complete you should be able to run the test scripts as per the README.

$NTA/bin/htmtest