numenta / nupic-legacy

Numenta Platform for Intelligent Computing is an implementation of Hierarchical Temporal Memory (HTM), a theory of intelligence based strictly on the neuroscience of the neocortex.
http://numenta.org/
GNU Affero General Public License v3.0
6.34k stars 1.56k forks source link

Pull #751 fails `run_tests.sh` #776

Closed utensil closed 10 years ago

utensil commented 10 years ago

On a Ubuntu VM with only $NUPIC and $NTA manually set, after making, runing $NUPIC/run_tests.sh --all fails, giving the following complain:

utensilsong@vm-1:~/projects/david-ragazzi/nupic$ $NUPIC/run_tests.sh --all
/home/utensilsong/projects/david-ragazzi/nupic/run_tests.sh: 2: /home/utensilsong/projects/david-ragazzi/nupic/run_tests.sh: actual_dir: not found
======================================================================================= test session starts ========================================================================================
platform linux2 -- Python 2.7.4 -- pytest-2.4.2 -- /usr/bin/python
plugins: cov, xdist
collecting 3 items / 1 errors
============================================================================================== ERRORS ==============================================================================================
__________________________________________________________ ERROR collecting tests/integration/py2/nupic/algorithms/tp_likelihood_test.py ___________________________________________________________
tests/integration/py2/nupic/algorithms/tp_likelihood_test.py:52: in <module>
>   from nupic.research.TP import TP
E   ImportError: No module named nupic.research.TP
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
===================================================================================== 1 error in 1.27 seconds ======================================================================================
utensilsong@vm-1:~/projects/david-ragazzi/nupic$  

For details, please refer to https://gist.github.com/utensil/9969663#file-numenta-nupic-pull-751-build-further-md , section "Stagerun_tests.sh".

rhyolight commented 10 years ago

I think this is because the PYTHONPATH needs to be updated with the location of the installed NuPIC.

david-ragazzi commented 10 years ago

This was discussed ans solved at #751 . Closing...