Hi Nupic,
I have installed Nupic following the steps below:
1.sudo apt-get upgrade # optional
2.sudo apt-get install git python-dev python-pip automake libtool libssl-dev
g++ cmake mysql-server libpcre3-dev
3. pip install numpy
4.git clone https://github.com/numenta/nupic.git
5.python setup.py install --user
After that I got:
...
Using /home/xx/.local/lib/python2.7/site-packages/apipkg-1.4-py2.7.egg
Finished processing dependencies for nupic==0.2.12.dev0
Copying binaries from /home/xx/nupic/extensions/core/build/release/bin to
/home/xx/nupic/bin...
Then I tried the code in Beginner's Guide to NuPIC After I put "from
nupic.encoders import ScalarEncoder", I got:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/nupic/encoders/__init__.py",
line 22, in <module>
from scalar import ScalarEncoder
File "/usr/local/lib/python2.7/dist-packages/nupic/encoders/scalar.py", line
25, in <module>
import capnp
ImportError: No module named capnp
I am sure that I have not installed nupic successfully, but why? I have
followed every step in the web. Can anyone help me? Thank you
jia