Tried again, I would think this was right.  The user is called nupic, and I
cloned the Git repository in the Home folder.

nupic@nupic:~$ echo $NUPIC
/home/nupic/nupic

then did an environment variable check:

nupic@nupic:~$ export -p
declare -x NUPIC="/home/nupic/nupic"

Then got back into the hotgym directory, ran swarm.py and it worked!  Not
sure what I did that was different than the 2 times before.  52 minutes
later it spit out the model files.  That's all the excitement I can handle
for tonight.  Will pick up on the rest of the tutorial another time.  Also
wanted to try cerebro and studio too.



--

Michael Hale
219.448.0219
southshoremedia.com
[email protected] <[email protected]>

On Thu, Oct 2, 2014 at 1:39 PM, Matthew Taylor <[email protected]> wrote:

> 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]>
>>
>
>

Reply via email to