This looks like the NuPIC configuration defaults cannot be found. Make sure that the $NUPIC environment variable is set and points to your repo checkout directory.
--------- Matt Taylor OS Community Flag-Bearer Numenta On Wed, Oct 1, 2014 at 7:15 PM, Michael Hale <[email protected]> wrote: > Hello, I've been working on trying to get NuPIC figured out and seem to be > running into issues. > > Did an install on a fresh Ubuntu 64-bit 14.04 virtual machine, and after > some hiccups was able to get it going with a 100% passing on all tests > (many were skipped tho). Been there before, but seem to always get stalled > at the hotgym tutorial. > > Have followed the YouTube video, and created my own swarm.py and > swarm_definitions.py files from it. Those resulted in errors when trying > to run swarm.py in the > /home/nupic/nupic/examples/prediction/data/extra/hotgym folder. Then I > went to > the /home/nupic/nupic/examples/opf/clients/hotgym/prediction/one_gym folder > to run the pre-made swarm.py and got the same errors. > > Here is my output: > > nupic@nupic:~/nupic/examples/opf/clients/hotgym/prediction/one_gym$ > ./swarm.py > Traceback (most recent call last): > File "./swarm.py", line 29, in <module> > from nupic.swarming import permutations_runner > File > "/usr/local/lib/python2.7/dist-packages/nupic-0.1.0-py2.7.egg/nupic/swarming/permutations_runner.py", > line 42, in <module> > from nupic.swarming import HypersearchWorker, utils > File > "/usr/local/lib/python2.7/dist-packages/nupic-0.1.0-py2.7.egg/nupic/swarming/HypersearchWorker.py", > line 42, in <module> > from HypersearchV2 import HypersearchV2 > File > "/usr/local/lib/python2.7/dist-packages/nupic-0.1.0-py2.7.egg/nupic/swarming/HypersearchV2.py", > line 48, in <module> > from nupic.frameworks.opf.exp_generator.ExpGenerator import > expGenerator > File > "/usr/local/lib/python2.7/dist-packages/nupic-0.1.0-py2.7.egg/nupic/frameworks/opf/exp_generator/ExpGenerator.py", > line 59, in <module> > METRIC_WINDOW = int(Configuration.get("nupic.opf.metricWindow")) > TypeError: int() argument must be a string or a number, not 'NoneType' > nupic@nupic:~/nupic/examples/opf/clients/hotgym/prediction/one_gym$ > > I'm guessing this traces back to building nupic during installation? When > I did that, everything seemed to go ok minus warnings of using some > depreciated stuff. Any guesses on what's going on here? Thanks much. > > -- > > Michael Hale > southshoremedia.com > [email protected] <[email protected]> >
