Hi Azat, last night I was having the same problem. I installed mongodb following this instructions with no problem: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/
Then you have to install: sudo yum install libevent-devel sudo easy_install gevent sudo easy_install web.py sudo easy_install pymongo and at last you have to change the config file for the vagrant machine and reload it, you have to make it restart with its own ip, so when you start cerebro with python cerebro.py 7777 you can introduce in a browser in your host machine http://<ip of vagrant machine>:7777 (I am writing from memory, I hope there are no typos) hope it helps! now I have a 20 hour trip to play with the system before the hackaton ;) Gari On Fri, Nov 1, 2013 at 5:43 AM, Azat <[email protected]> wrote: > Still no luck. Failed to install MongoDB within VM (Chef doesn't like > cookbook's or recipes..), and before that couldn't get my ports, or IPs for > MongoDB and Cerebro.py work together. > Do you have similar setup, otherwise it's just well(?) spent time learning > mongodb and vagrant config options :-) ? > Or maybe you have somehow installed mongodb in the VM ? > > Azat > > -------------------------------------------- > On Thu, 10/31/13, Matt Keith <[email protected]> wrote: > > Subject: Re: [nupic-dev] Running Cerebro > To: "NuPIC general mailing list." <[email protected]> > Date: Thursday, October 31, 2013, 7:32 AM > > Azat, > > Are you running NuPIC in a virtual machine? If so, > then you will need to either run mongodb in the virtual > machine as well, or point the database connection in cerebro > to your Mac's IP address and make sure that the ports are > open etc. > > Matt > > On Oct 30, 2013, at 10:46 PM, Azat <[email protected]> > wrote: > > > After installing all the packages Cerebro uses, and > running mongodb (OS X 10.9): > > > > $ python cerebro.py 7777 > > Traceback (most recent call last): > > File "cerebro.py", line 237, in <module> > > setup() > > File "cerebro.py", line 225, in setup > > conn = pymongo.Connection() > > File > > > "/usr/lib/python2.6/site-packages/pymongo-2.6.3-py2.6-linux-x86_64.egg/pymongo/connection.py", > line 222, in __init__ > > max_pool_size, document_class, tz_aware, > _connect, **kwargs) > > File > > > "/usr/lib/python2.6/site-packages/pymongo-2.6.3-py2.6-linux-x86_64.egg/pymongo/mongo_client.py", > line 352, in __init__ > > raise ConnectionFailure(str(e)) > > pymongo.errors.ConnectionFailure: could not connect to > localhost:27017: [Errno 111] Connection refused > > > > > > Azat > > > > -------------------------------------------- > > On Wed, 10/30/13, Azat <[email protected]> > wrote: > > > > Subject: [nupic-dev] Running Cerebro > > To: [email protected] > > Date: Wednesday, October 30, 2013, 9:50 PM > > > > I have installed Cerebro on Mac O X > > 10.9 (seen only warnings during installation steps at > https://github.com/numenta/nupic.cerebro): > > > > brew install libevent > > brew install mongodb > > pip install -r requirements.txt > > > > And then: > > > > mongod &; > > ls [result is: Vagrantfile > > nupic > > > nupic.cerebro-master > > ] > > > > At last: python cerebro.py 7777 > > > > Getting an error launching it: > > > > $ python cerebro.py 7777 > > Traceback (most recent call last): > > File "cerebro.py", line 26, in > <module> > > from cerebro_model import > CerebroModel > > File > > > "/Users/Azat/numenta/nupic.cerebro-master/cerebro_model.py", > > line 23, in <module> > > import > nupic.frameworks.opf.opfhelpers as > > opfhelpers > > ImportError: No module named > > nupic.frameworks.opf.opfhelpers > > > > Path/env problem ? Anyone successfully installed/run it > from > > ? > > > > Azat > > > > _______________________________________________ > > 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 > > > _______________________________________________ > 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
