Hi Matt,

I used the following command to install Nupic:
pip install Nupic

And yes, after investigation, it looks like I can't access the default config… 
nupic-default.xml
My os is OS X 10.9.4 

Thanks for your help!
Ghislain


On 2014-08-18, at 12:08, Matthew Taylor <[email protected]> wrote:

> Looks like the default NuPIC configuration is not being found.
> Ghislain, can you tell me the steps you took to install NuPIC? Did you
> follow the "python setup.py install" route or use cmake directly?
> ---------
> Matt Taylor
> OS Community Flag-Bearer
> Numenta
> 
> 
> On Thu, Aug 14, 2014 at 3:31 AM, Ghislain Gagne <[email protected]> wrote:
>> Hello everyone,
>> I get this error when running Swarm script from the Hot Gym tutorial:
>> 
>> 
>> import os
>> import pprint
>> 
>> from nupic.swarming import permutations_runner
>> from swarm_description import SWARM_DESCRIPTION
>> 
>> ---------------------------------------------------------------------------
>> TypeError                                 Traceback (most recent call last)
>> <ipython-input-17-7465d1d6882e> in <module>()
>>     28
>>     29 from nupic.support.configuration import Configuration
>> ---> 30 from nupic.swarming import permutations_runner
>>     31 from swarm_description import SWARM_DESCRIPTION
>> 
>> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nupic/swarming/permutations_runner.py
>> in <module>()
>>     40 from nupic.support import object_json as json
>>     41 import nupic.database.ClientJobsDAO as cjdao
>> ---> 42 from nupic.swarming import HypersearchWorker, utils
>>     43 from nupic.swarming.HypersearchV2 import HypersearchV2
>>     44 from nupic.frameworks.opf.exp_generator.ExpGenerator import
>> expGenerator
>> 
>> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nupic/swarming/HypersearchWorker.py
>> in <module>()
>>     40 from nupic.support.errorcodes import ErrorCodes
>>     41 from nupic.database.ClientJobsDAO import ClientJobsDAO
>> ---> 42 from HypersearchV2 import HypersearchV2
>>     43
>>     44
>> 
>> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nupic/swarming/HypersearchV2.py
>> in <module>()
>>     46                                                   runDummyModel)
>>     47 from nupic.swarming.permutationhelpers import *
>> ---> 48 from nupic.frameworks.opf.exp_generator.ExpGenerator import
>> expGenerator
>>     49
>>     50
>> 
>> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nupic/frameworks/opf/exp_generator/ExpGenerator.py
>> in <module>()
>>     57 _ONE_INDENT = ' ' * _INDENT_STEP
>>     58 _ILLEGAL_FIELDNAME_CHARACTERS = "\\"
>> ---> 59 METRIC_WINDOW = int(Configuration.get("nupic.opf.metricWindow"))
>>     60
>>     61
>> #############################################################################
>> 
>> TypeError: int() argument must be a string or a number, not 'NoneType'
>> 
>> 
>> 
>> 
>> ——
>> 
>> Thanks for your help!
>> 
>> Ghislain
>> 
>> 
>> 
>> _______________________________________________
>> nupic mailing list
>> [email protected]
>> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>> 
> 
> _______________________________________________
> nupic mailing list
> [email protected]
> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org


_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to