Ok, don't cd into the scripts directory. Run ./scripts/run_nupic_tests from $NUPIC. --------- Matt Taylor OS Community Flag-Bearer Numenta
On Tue, Mar 31, 2015 at 2:59 PM, Giuseppe Torre <[email protected]> wrote: > I run the following commands: > > cd nupic/scripts > > then > > ./run_nupic_tests --all --coverage > > Then console outputs: > > ============================= test session starts > ============================== > > platform darwin -- Python 2.7.9 -- pytest-2.4.2 -- > /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python > > plugins: xdist, cov > > collecting 1 items > > > then Python crash.. I can post the exact Apple report if required (?) > > seems to be happened on osx 10.10 too... > http://permalink.gmane.org/gmane.comp.ai.nupic/5432 > > /G > > On Tue, Mar 31, 2015 at 11:51 PM, Matthew Taylor <[email protected]> wrote: >> >> I can't tell what's happening from that error message. Can you include >> the complete command you ran and all stdout? (use pastebin.com) >> --------- >> Matt Taylor >> OS Community Flag-Bearer >> Numenta >> >> >> On Tue, Mar 31, 2015 at 2:28 PM, Giuseppe Torre <[email protected]> >> wrote: >> > Thanks Matt, it was indeed that my export NUPIC was set to the wrong >> > folder.... >> > Now I got this error though: >> > >> > platform darwin -- Python 2.7.9 -- pytest-2.4.2 -- >> > >> > /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python >> > >> > plugins: xdist, cov >> > >> > And Python quit unexpectedly..... >> > >> > any idea? >> > >> > /G >> > >> > >> > >> > On Tue, Mar 31, 2015 at 11:13 PM, Matthew Taylor <[email protected]> >> > wrote: >> >> >> >> Congrats! >> >> >> >> On Tue, Mar 31, 2015 at 2:07 PM, Giuseppe Torre >> >> <[email protected]> >> >> wrote: >> >> > (Note: I did not run the command ' source nupic-darwin64/bin/activate >> >> > '. >> >> > if >> >> > I understood properly I did not need to do that because I have >> >> > installed >> >> > all >> >> > requirements already ) >> >> >> >> Yes, exactly. And you don't have to clone that repo at all if you've >> >> installed dependencies yourself. >> >> >> >> The test error seems to be because NUPIC environment variable is >> >> undefined. If you ran tests in a different shell, you need to "export >> >> NUPIC=" again or better yet, add this declaration to your .bashrc or >> >> .bash_profile. >> >> >> >> --------- >> >> Matt Taylor >> >> OS Community Flag-Bearer >> >> Numenta >> >> >> > >> > >> > >> > >> >
