I have successfully installed NuPIC via “pip install nupic” on my Windows 7 machine. The installation finished with the message
“Successfully installed nupic-1.0.5 nupic.bindings-1.0.6”
The only files I can find are under
“C:\Python27\Lib\site-packages\nupic…”
However, this is only the stuff located under “nupic/src/nupic” in the github repo. Where is everything else, e.g. the tests, examples and scripts which are located in the repo under “nupic/examples”, “nupic/tests” and “nupic/scripts”, respectively?
I’m using windows 7 like you and a month ago I installed nupic, you must have follow those steps created by @rhyolight (Matt Taylor) and also you must change the variable :
Right, install git and clone the repository, or just download a zipped file with the source code from Github. With NuPIC already installed, you should be able to run the unit tests in the repo, just follow the README to run tests.
The binaries are installed under “C.\Python27\Lib\site-packages\nupic”. I cloned the repo into “F:\DATEN\git-repos\nupic”. Running “py.test tests/unit” from that location results in the output below. All errors seem to be caused by missing modules. How can I fix this?
============================= test session starts =============================
platform win32 -- Python 2.7.15, pytest-3.0.7, py-1.6.0, pluggy-0.4.0
rootdir: F:\DATEN\git-repos\nupic, inifile:
plugins: xdist-1.16.0, cov-2.5.0
collected 478 items / 46 errors
=================================== ERRORS ====================================
__ ERROR collecting tests/unit/nupic/algorithms/cla_classifier_diff_test.py ___
ImportError while importing test module 'F:\DATEN\git-repos\nupic\tests\unit\nupic\algorithms\cla_classifier_diff_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests\unit\nupic\algorithms\cla_classifier_diff_test.py:27: in <module>
from nupic.algorithms.cla_classifier_diff import CLAClassifierDiff
E ImportError: No module named cla_classifier_diff