Skip to content

Running NuPIC on Linux

breznak edited this page Sep 12, 2013 · 2 revisions

Most instructions should work in general, some distro specific details below:

python virtualenv

In case you have any (python related) problems with build, it's suggested you try in a clean python environment, use virtualenv for that:

  • Set up virtualenv (its best to run it in a clean python environment)

virtualenv --python=/usr/bin/python2.7 --distribute --no-site-packages py27

source py27/bin/activate

Ubuntu

12.04

http://lists.numenta.org/pipermail/nupic_lists.numenta.org/2013-July/000493.html

13.04

http://lists.numenta.org/pipermail/nupic_lists.numenta.org/2013-July/000534.html

TODO: transcript into markdown here.

Python via Pythonbrew

When installing via pythonbrew, make sure to include these extra flags:

pythonbrew install --configure="--enable-shared --enable-unicode=ucs4" 2.7

Mint

Mint 15 64 Bit Distribution

  • Install dependencies

sudo apt-get install python-dev build-essential libtool automake libssl-dev libfreetype6-dev libpng-dev

(see Python with virtualenv section above if you have some python problems)

source env.sh

  • Pull Git repo and Build

./build.sh

  • Run tests to confirm successful build

./run_tests.sh


Notes

  • Make sure you clone the repo in directory where sudo is not needed.
Clone this wiki locally