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

Reply via email to