Last active
August 21, 2016 17:02
-
-
Save rhyolight/15b8454780424f690d00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update -y | |
sudo apt-get install git g++ cmake python-dev -y | |
git clone https://github.com/numenta/nupic.core.git | |
git clone https://github.com/numenta/nupic.git | |
export NUPIC=$HOME/nupic | |
export NUPIC_CORE=$HOME/nupic.core | |
curl https://bootstrap.pypa.io/get-pip.py | sudo python | |
cd $NUPIC_CORE | |
pip install -r bindings/py/requirements.txt --user | |
pip install pycapnp==0.5.8 --user | |
mkdir -p $NUPIC_CORE/build/scripts | |
cd $NUPIC_CORE/build/scripts | |
cmake $NUPIC_CORE -DCMAKE_INSTALL_PREFIX=../release -DPY_EXTENSIONS_DIR=$NUPIC_CORE/bindings/py/nupic/bindings | |
make -j3 | |
make install | |
cd $NUPIC_CORE/build/release/bin | |
./cpp_region_test | |
./unit_tests | |
cd $NUPIC_CORE | |
python setup.py install --user | |
cd $NUPIC | |
python setup.py install --user | |
export PATH=~/.local/bin:$PATH | |
python $NUPIC/scripts/run_nupic_tests.py -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated, thanks.