Hi Matt, ok I think I found out what the problem was....I am not sure at all but it worked ....
I have uninstalled nupic: pip unistall nupic and uninstalled python again: sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.7 sudo rm -rf "/Applications/Python 2.7" This time I have installed Nupic by cloning the nupic-darwing64 and running the command: source nupic-darwin64/bin/activate Then the following commands: export MACOSX_DEPLOYMENT_TARGET=10.9 ARCHFLAGS="-arch x86_64" python setup.py install --user (did not "export NUPIC=<location of nupic folder>" because I have added to my bash profile) All installed successfully and tests run smoothly. Do I need to deactivate nupic-darwin64 now? or it need to be "on" all the time I am using nupic? I think the problem was the following: By installing manually Python (see previous email) the installation process did not include the following libraries which are instead included in the nupic-darwin64 folder logilab matplotlib mpl_toolkit ordereddit pylint pymsql pytz Also if I now run the command $ python --version the output is: Python 2.7.5 (by installing python manually I was installing version 2.7.9) ..just a guess .... if it helps Thanks very much to you and all for the support! /G On Wed, Apr 1, 2015 at 12:10 AM, Matthew Taylor <[email protected]> wrote: > > 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 > >> >> > >> > > >> > > >> > > >> > > >> > >
