-
Notifications
You must be signed in to change notification settings - Fork 0
Running NuPIC on Linux
Most instructions should work in general, some distro specific details below:
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
http://lists.numenta.org/pipermail/nupic_lists.numenta.org/2013-July/000493.html
http://lists.numenta.org/pipermail/nupic_lists.numenta.org/2013-July/000534.html
TODO: transcript into markdown here.
When installing via pythonbrew, make sure to include these extra flags:
pythonbrew install --configure="--enable-shared --enable-unicode=ucs4" 2.7
- 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
- Make sure you clone the repo in directory where sudo is not needed.