Hi, Did you modify the nupic-default.xml or create a custom one (nupic-site.xml) [1, 2], to define your MySQL username and password?
Regards, Richard. 1 https://github.com/numenta/nupic/wiki/Running-Swarms#prerequisites 2 https://github.com/numenta/nupic/wiki/MySQL-Settings On Mon, Mar 7, 2016 at 5:14 PM, Chittavajhula, Phanindra (MRO) < [email protected]> wrote: > I was facing the issues mentioned below when I ran files individually. > However, when I run the swarm.py located in examples folder I do not get > error mentioned below (“No module named swarm description”) > > > > > > But when I run the swarm file in the folder shown above I get error below. > > > > [image: cid:[email protected]] > > > > Can someone please advise ? > > > > Thanks, > Phani > > > > *From:* nupic [mailto:[email protected]] *On Behalf Of *Matthew > Taylor > *Sent:* Thursday, March 03, 2016 11:58 AM > *To:* Chittavajhula, Phanindra (MRO) <[email protected]> > *Subject:* Re: [External] Re: Swarm description issue executing Swarm.py > > > > 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 > > > > [image: cid:[email protected]] > > > > When I execute from swarm_description import SWARM_DESCRIPTION, I get the > following error > > > > [image: cid:[email protected]] > > > > 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 > > > > [image: cid:[email protected]] > > > > Based on the some of the threads, I maintained the variable NUPIC with > value . What else I need to execute this statement ? > > > > [image: cid:[email protected]] > > > > 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 > > > > [image: cid:[email protected]] > > > > 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 > > > > >
