I have been struggling to install NuPIC on raspberry pi. Here is how to install NuPIC.
NuPIC Core
cloning ver. 0.6.1
git clone -b 0.6.1 https://github.com/numenta/nupic.core.git
sudo pip install -r bindings/py/requirements.txt
sudo python setup.py install
NuPIC
cloning ver. 0.6.0
git clone -b 0.6.0 https://github.com/numenta/nupic.git
modify setup.py as follows
def findRequirements():
"""
Read the requirements.txt file and parse into requirements for setup's
install_requirements option.
"""
requirementsPath = os.path.join(REPO_DIR, "requirements.txt")
requirements = parse_file(requirementsPath)
#if nupicBindingsPrereleaseInstalled(): <- comment out
# User has a pre-release version of nupic.bindings installed, which is only
# possible if the user installed and built nupic.bindings from source and
# it is up to the user to decide when to update nupic.bindings. We'll
# quietly remove the entry in requirements.txt so as to not conflate the
# two.
#requirements = [req for req in requirements if "nupic.bindings" not in req] <- comment out
return requirements
extras_require = {
# Default requirement based on system type
#":platform_system=='Linux' or platform_system=='Darwin'": <-comment out
#["pycapnp==0.5.8"], <- comment out
# Superseded by platform_system-conditional requirement, but keeping
# empty extra for compatibility as recommended by setuptools doc.
"capnp": [],
"viz": ["networkx", "matplotlib", "pygraphviz"]
},
modify requirements.txt as follows
nupic.bindings==0.6.1 <- from 0.6.0
python setup.py develop --user