I must point out that Windows is not officially supported by NuPIC yet [1]. We don't have the setup to debug everyone's Windows issues, and I'm not even sure anyone has tried swarming on Windows at all. Feel free to help each other on the mailing list with Windows issues, but the Numenta team I won't be able to help very much at this point.
[1] http://lists.numenta.org/pipermail/nupic_lists.numenta.org/2016-February/012934.html Regards, --------- Matt Taylor OS Community Flag-Bearer Numenta On Thu, Mar 3, 2016 at 9:00 AM, Chittavajhula, Phanindra (MRO) < [email protected]> wrote: > Hi All, > > > > Context : Unable to execute swarm.py file (part of hot gym tutorial) > > > > Since the hot gym tutorial requires “SWARM_DESCRIPTION.py”, I have copied > the file available in GITHUB to the following path. I created the folder > “swarm_description” under nupic folder, and then copied the > SWARM_DESCRIPTION.py and __init__.py file into the same folder > > > > > > When I execute from swarm_description import SWARM_DESCRIPTION, I get the > following error > > > > > > Can you please help ? > > > > Thanks, > Phani > > *From:* Chittavajhula, Phanindra (MRO) > *Sent:* Wednesday, March 02, 2016 3:09 PM > *To:* 'NuPIC general mailing list.' <[email protected]> > *Subject:* RE: [External] Re: USER Variable issue when running Swarm.py > > > > Hi Richard, > > > > Thanks a lot for quick response. I am able to execute that statement > without errors. Now, I get different error when import SWARM_DESCRIPTION > > > > > > Based on the some of the threads, I maintained the variable NUPIC with > value . What else I need to execute this statement ? > > > > > > Thanks, > Phani > > *From:* nupic [mailto:[email protected] > <[email protected]>] *On Behalf Of *Richard Crowder > *Sent:* Wednesday, March 02, 2016 12:32 PM > *To:* Chittavajhula, Phanindra (MRO) <[email protected]> > *Subject:* [External] Re: USER Variable issue when running Swarm.py > > > > *Beware of links/attachments.* > > > > Hi Phani, > > > > You need to set a 'USER' environment variable to ecn > > > > There are a few ways you can do this on Windows 7, one example is shown > here [1]. Another way is to use the following setx command in a cmd window > [2]; > > > > *setx USER ecn* > > > > If you use the setx method you need to; run the setx command, exit the cmd > window, then restart the cmd window for the variable to be available. Also > restart any applications you might use such as PyCharm. > > > > Regards, Richard. > > > > 1 > http://viralpatel.net/blogs/windows-7-set-environment-variable-without-admin-access/ > > 2 https://technet.microsoft.com/en-gb/library/cc755104.aspx > > > > > > On Wed, Mar 2, 2016 at 6:06 PM, Chittavajhula, Phanindra (MRO) < > [email protected]> wrote: > > Hi All, > > > > I am trying to run the Swarm.py part of Hot gym tutorial. When I am trying > to run “from nupic.swarming import permutations_runner” I get following > error > > > > > > Can you please advise ? > > > > Background : I am using Windows 7 and Python 2.7. I have also installed > enthought canopy and using the same for running all the scripts. Once we > are able to run the tutorial successfully, we want to run these algorithms > on our data > > > > (I understand that statement I am executing is calling > configuration_base.py file and looking for user variable. However, I am not > clear how to set this up ?) > > > > Thanks, > Phani > > >
