Hi,
Does Grok go to university Career expo
Aseem

----- Original Message -----
From: [email protected]
To: [email protected]
Sent: Monday, September 16, 2013 6:28:59 PM
Subject: nupic Digest, Vol 5, Issue 37

Send nupic mailing list submissions to
        [email protected]

To subscribe or unsubscribe, visit
        http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of nupic digest..."


Today's Topics:

   1. Re: numpy error on OS X (Marek Otahal)
   2. Re: Getting Started With NuPIC (Matthew Taylor)
   3. Re: Getting Started With NuPIC (Daniel Jachyra)
   4. Re: Getting Started With NuPIC (Matthew Taylor)
   5. Re: Getting Started With NuPIC (Marek Otahal)


----------------------------------------------------------------------

Message: 1
Date: Mon, 16 Sep 2013 23:16:26 +0200
From: Marek Otahal <[email protected]>
To: "NuPIC general mailing list." <[email protected]>
Subject: Re: [nupic-dev] numpy error on OS X
Message-ID:
        <cach1_rp7d1bcppnbpgrfyipbq4kmmzq+fp0xu87rfzhc9v_...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

git log --pretty=format: --name-only --since="7 days ago"

and

git log --since="7 days ago"


will tell you what files, and what commits changed (hope I didnt mess sth
up for other ppl :P)
I'd suspect either the changes to opf/metrics, or APR, take a look..


On Mon, Sep 16, 2013 at 10:54 PM, Matt Keith <[email protected]> wrote:

> Ian,
>
> Thanks for the tip.  My env just had PY_VER set to 2.7, so I added
> PY_VERSION as well, but it didn't resolve the problem.  I stepped through
> the code using pdb and get the following:
>
> >
> /Users/keith/Development/nta/eng/lib/python2.7/site-packages/nupic/engine/__init__.py(636)addRegion()
> -> engine.Network.addRegion(self, name, nodeType, nodeParams)
> (Pdb) s
> --Call--
> >
> /Users/keith/Development/nta/eng/lib/python2.7/site-packages/nupic/bindings/engine_internal.py(1009)addRegion()
> -> def addRegion(*args, **kwargs):
> (Pdb) n
> >
> /Users/keith/Development/nta/eng/lib/python2.7/site-packages/nupic/bindings/engine_internal.py(1011)addRegion()
> -> return _engine_internal.Network_addRegion(*args, **kwargs)
> (Pdb) s
> ImportError: numpy.core.multiarray failed to import
> ERROR:  Could not get valid spec for Region: py.RecordSensor
> [/Users/keith/Development/nupic/nta/engine/RegionImplFactory.cpp line 452]
> RuntimeError: RuntimeE...Sensor',)
> Segmentation fault
>
> Since it seg faults, it does seem to be a problem with how the
> numpy/core/multiarray.so lib was built, but I don't see any errors in the
> stdout.txt file from the build.  Did the numpy version that is being used
> change recently?  I'm still trying to figure out why this used to work
> before last week.
>
> Thanks,
>
> Matt
>
> On Sep 16, 2013, at 1:46 PM, Ian Danforth <[email protected]>
> wrote:
>
> Matt,
>
>  Austin found the cause of my issue, perhaps it is yours as well. For one
> reason or another $PY_VERSION was not set in my environment. Once I 'export
> PY_VERSION=2.7' things started working. Apparently numpy has switches all
> over the place that rely on that env variable.
>
> Ian
>
>
> On Mon, Sep 16, 2013 at 11:34 AM, Marek Otahal <[email protected]>wrote:
>
>> Thanks for reply Matt,
>>
>> that is, in deed, weird..
>> Does python have some equivalent to set +x in shell?
>> Or could you try following the order by hand? and see where the err
>> happens?
>>
>>
>> On Mon, Sep 16, 2013 at 8:04 PM, Matt Keith <[email protected]> wrote:
>>
>>> Mark,
>>>
>>> Yes, I have rebuilt all of the python modules via pip from the
>>> pip-caches versions.  What's weird is that numpy and multiarray seem to
>>> work fine when I try to load and access them by hand:
>>> >>> import numpy.core.multiarray
>>> >>> numpy.core.multiarray.__version__
>>> '3.1'
>>>
>>> However, it fails when I try to run the nupic example.  Is there a log
>>> somewhere that might give more details about error?
>>>
>>> Thanks,
>>>
>>> Matt
>>>
>>> On Sep 16, 2013, at 11:36 AM, Marek Otahal <[email protected]> wrote:
>>>
>>> Hi,
>>> there's no need for scipy imho.
>>> The hotgym example is being checked by Travis every pull, so the issue
>>> is reduced to OSX problems with any of the lib. Like Greg and Austin said,
>>> please verify with all python modules rebuilt (if possible, use the pip
>>> versions provided by nupic). Also you can test in virtualenv if that solves
>>> the problem for you..
>>>
>>>
>>> On Mon, Sep 16, 2013 at 7:12 PM, Matt Keith <[email protected]> wrote:
>>>
>>>> Greg,
>>>>
>>>> Thanks for the info.  I do have pip installed already.  Here is the
>>>> version info:
>>>> pip 1.4 from /Library/Python/2.7/site-packages/pip-1.4-py2.7.egg
>>>> (python 2.7)
>>>>
>>>> Matt
>>>>
>>>> On Sep 16, 2013, at 9:37 AM, Tao Effect <[email protected]> wrote:
>>>>
>>>> Installing Python through Homebrew will also install pip, which I think
>>>> is needed anyway to retrieve the dependencies.
>>>>
>>>> - Greg
>>>>
>>>> --
>>>> Please do not email me anything that you are not comfortable also
>>>> sharing with the NSA.
>>>>
>>>> On Sep 16, 2013, at 11:34 AM, Matt Keith <[email protected]> wrote:
>>>>
>>>> Ian,
>>>>
>>>> I do not have scipy installed on my system.  Here is the output for me:
>>>>
>>>> Python 2.7.2 (default, Oct 11 2012, 20:14:37)
>>>> [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on
>>>> darwin
>>>> Type "help", "copyright", "credits" or "license" for more information.
>>>> >>> import numpy
>>>> >>> import matplotlib
>>>> >>> import scipy
>>>> Traceback (most recent call last):
>>>>   File "<stdin>", line 1, in <module>
>>>> ImportError: No module named scipy
>>>> >>> numpy.__version__
>>>> '1.7.1'
>>>> >>> matplotlib.__version__
>>>> '0.98.5.2'
>>>>
>>>> I had this working before and the only thing that changed on my system
>>>> was an update of the nupic source, so it must have been a change in the
>>>> build settings, process or requirements.  I have done cleanbuild.sh and
>>>> tried removing $NTA and $NTABUILD dirs by hand, but get the same error.
>>>>
>>>> I would rather not go the homebrew route.  I don't think that should be
>>>> a requirement for other contributors and don't want to maintain yet another
>>>> development environment on my system.  Hopefully, we can just find the
>>>> issue and resolve it.
>>>>
>>>> Thanks,
>>>>
>>>> Matt
>>>>
>>>> On Sep 16, 2013, at 8:10 AM, Tao Effect <[email protected]> wrote:
>>>>
>>>> Did you install Python through Homebrew already?
>>>>
>>>> --
>>>> Please do not email me anything that you are not comfortable also
>>>> sharing with the NSA.
>>>>
>>>> On Sep 16, 2013, at 10:06 AM, Ian Danforth <[email protected]>
>>>> wrote:
>>>>
>>>> I started by removing $NTA and $NUPIC and doing a fresh checkout and
>>>> have done a clean build several times. Rather than go to the extreme length
>>>> of reinstalling python, I'd like to track down the root cause of this issue
>>>> so that a fix can be automated.
>>>>
>>>> Ian
>>>>
>>>>
>>>> On Mon, Sep 16, 2013 at 5:43 AM, Tao Effect <[email protected]>wrote:
>>>>
>>>>> These errors look identical to what I was running into and managed to
>>>>> fix in a recent pull request that was merged a few weeks ago.
>>>>>
>>>>> I would recommend installing Python using Homebrew and then doing a
>>>>> clean build of NuPIC (i.e. deleting the nta folder).
>>>>>
>>>>> Kind regards,
>>>>> Greg Slepak
>>>>>
>>>>> ? @taoffect on GitHub and elsewhere
>>>>>
>>>>> --
>>>>> Please do not email me anything that you are not comfortable also
>>>>> sharing with the NSA.
>>>>>
>>>>> On Sep 16, 2013, at 12:15 AM, Ian Danforth <[email protected]>
>>>>> wrote:
>>>>>
>>>>> Matt,
>>>>>
>>>>>  I ran 'sudo pip unintsall matplotlib' and this made python fall back
>>>>> to the version supplied by NuPIC, which is version .98.5.2 (released
>>>>> 2008!). And that let me import pylab and get run_tests.sh complete. Going
>>>>> to rebuild and see if it clears up any other issues.
>>>>>
>>>>> Ian
>>>>>
>>>>>
>>>>> On Sun, Sep 15, 2013 at 9:02 PM, Ian Danforth <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Matt,
>>>>>>
>>>>>>  Can you reply with your output for these versions if you have them?
>>>>>> Numpy, matplotlib, scipy, and scikit-learn are not happy on my system and
>>>>>> you might be in a similar situation.
>>>>>>
>>>>>> Ian
>>>>>>
>>>>>> >>> import numpy
>>>>>> >>> import matplotlib
>>>>>> >>> import scipy
>>>>>> >>> numpy.__version__
>>>>>> '1.7.1'
>>>>>> >>> matplotlib.__version__
>>>>>> '1.3.x'
>>>>>> >>> scipy.__version__
>>>>>> '0.13.0.dev-c31f167'
>>>>>> >>> import sklearn
>>>>>> RuntimeError: module compiled against API version 8 but this version
>>>>>> of numpy is 7
>>>>>>  Traceback (most recent call last):
>>>>>>   File "<stdin>", line 1, in <module>
>>>>>>   File
>>>>>> "/Library/Python/2.7/site-packages/scikit_learn-0.14_git-py2.7-macosx-10.8-intel.egg/sklearn/__init__.py",
>>>>>> line 32, in <module>
>>>>>>     from .base import clone
>>>>>>   File
>>>>>> "/Library/Python/2.7/site-packages/scikit_learn-0.14_git-py2.7-macosx-10.8-intel.egg/sklearn/base.py",
>>>>>> line 10, in <module>
>>>>>>     from scipy import sparse
>>>>>>   File
>>>>>> "/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130307-py2.7-macosx-10.8-intel.egg/scipy/sparse/__init__.py",
>>>>>> line 182, in <module>
>>>>>>     from .csr import *
>>>>>>   File
>>>>>> "/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130307-py2.7-macosx-10.8-intel.egg/scipy/sparse/csr.py",
>>>>>> line 15, in <module>
>>>>>>     from .sparsetools import csr_tocsc, csr_tobsr, csr_count_blocks, \
>>>>>>   File
>>>>>> "/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130307-py2.7-macosx-10.8-intel.egg/scipy/sparse/sparsetools/__init__.py",
>>>>>> line 5, in <module>
>>>>>>     from .csr import *
>>>>>>   File
>>>>>> "/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130307-py2.7-macosx-10.8-intel.egg/scipy/sparse/sparsetools/csr.py",
>>>>>> line 26, in <module>
>>>>>>     _csr = swig_import_helper()
>>>>>>   File
>>>>>> "/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130307-py2.7-macosx-10.8-intel.egg/scipy/sparse/sparsetools/csr.py",
>>>>>> line 22, in swig_import_helper
>>>>>>     _mod = imp.load_module('_csr', fp, pathname, description)
>>>>>> ImportError: numpy.core.multiarray failed to import
>>>>>> >>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, Sep 15, 2013 at 8:48 PM, Ian Danforth <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Matt,
>>>>>>>
>>>>>>> I'm also having issues that end up in "RuntimeError: Could not get
>>>>>>> valid spec for Region: py.RecordSensor"
>>>>>>>
>>>>>>> One thing I see is that "import pylab" fails for me with the same
>>>>>>> error you're seeing, even though importing multiarray in the normal way
>>>>>>> works. Looking into that.
>>>>>>>
>>>>>>> Ian
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Sep 15, 2013 at 8:31 PM, Matt Keith <[email protected]>wrote:
>>>>>>>
>>>>>>>> I used to have a working NuPIC setup on my rMBP running OS X 10.8.4
>>>>>>>> and python 2.7, but last week I pulled the latest code from github and 
>>>>>>>> now
>>>>>>>> I get an import error when I run any client code.  Everything builds 
>>>>>>>> fine
>>>>>>>> and it even passes htmtest and run_tests.sh.  However, when I run the
>>>>>>>> hotgym example now I get the following error:
>>>>>>>>
>>>>>>>> -->python $NUPIC/examples/opf/clients/hotgym/hotgym.py
>>>>>>>> ImportError: numpy.core.multiarray failed to import
>>>>>>>> ERROR:  Could not get valid spec for Region: py.RecordSensor
>>>>>>>> [/Users/keith/Development/nupic/nta/engine/RegionImplFactory.cpp line 
>>>>>>>> 452]
>>>>>>>> Traceback (most recent call last):
>>>>>>>>   File
>>>>>>>> "/Users/keith/Development/nupic/examples/opf/clients/hotgym/hotgym.py",
>>>>>>>> line 94, in <module>
>>>>>>>>     runHotgym()
>>>>>>>>   File
>>>>>>>> "/Users/keith/Development/nupic/examples/opf/clients/hotgym/hotgym.py",
>>>>>>>> line 65, in runHotgym
>>>>>>>>     model = createModel()
>>>>>>>>   File
>>>>>>>> "/Users/keith/Development/nupic/examples/opf/clients/hotgym/hotgym.py",
>>>>>>>> line 60, in createModel
>>>>>>>>     return ModelFactory.create(model_params.MODEL_PARAMS)
>>>>>>>>   File
>>>>>>>> "/Users/keith/Development/nta/eng/lib/python2.7/site-packages/nupic/frameworks/opf/modelfactory.py",
>>>>>>>> line 76, in create
>>>>>>>>     return modelClass(**modelConfig['modelParams'])
>>>>>>>>   File
>>>>>>>> "/Users/keith/Development/nta/eng/lib/python2.7/site-packages/nupic/frameworks/opf/clamodel.py",
>>>>>>>> line 203, in __init__
>>>>>>>>     anomalyParams)
>>>>>>>>   File
>>>>>>>> "/Users/keith/Development/nta/eng/lib/python2.7/site-packages/nupic/frameworks/opf/clamodel.py",
>>>>>>>> line 1078, in __createCLANetwork
>>>>>>>>     n.addRegion("sensor", "py.RecordSensor",
>>>>>>>> json.dumps(dict(verbosity=sensorParams['verbosity'])))
>>>>>>>>   File
>>>>>>>> "/Users/keith/Development/nta/eng/lib/python2.7/site-packages/nupic/engine/__init__.py",
>>>>>>>> line 636, in addRegion
>>>>>>>>     engine.Network.addRegion(self, name, nodeType, nodeParams)
>>>>>>>>   File
>>>>>>>> "/Users/keith/Development/nta/eng/lib/python2.7/site-packages/nupic/bindings/engine_internal.py",
>>>>>>>> line 1011, in addRegion
>>>>>>>>     return _engine_internal.Network_addRegion(*args, **kwargs)
>>>>>>>> RuntimeError: Could not get valid spec for Region: py.RecordSensor
>>>>>>>>
>>>>>>>> Is anyone else seeing this problem with the latest code?  Any ideas
>>>>>>>> as to why the multiarray lib won't load?
>>>>>>>>
>>>>>>>> The .so file was built and exists in the $NAT/eng dir at
>>>>>>>> -rwxr-xr-x  1 keith  staff  2921728 Sep 15 20:47
>>>>>>>> lib/python2.7/site-packages/numpy/core/multiarray.so
>>>>>>>> And the module seems to load fine by hand:
>>>>>>>> >>> import numpy
>>>>>>>> >>> import numpy.core.multiarray
>>>>>>>> >>> numpy.__version__
>>>>>>>> '1.7.1'
>>>>>>>> >>> numpy.core.multiarray.__version__
>>>>>>>> '3.1'
>>>>>>>>
>>>>>>>> Let me know if you would like any output from the stdout.txt file
>>>>>>>> from the build.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> Matt
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>> Marek Otahal :o)
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Marek Otahal :o)
>>
>> _______________________________________________
>> 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
>
>


-- 
Marek Otahal :o)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.numenta.org/pipermail/nupic_lists.numenta.org/attachments/20130916/b8e8401a/attachment-0001.html>

------------------------------

Message: 2
Date: Mon, 16 Sep 2013 14:32:12 -0700
From: Matthew Taylor <[email protected]>
To: "NuPIC general mailing list." <[email protected]>
Subject: Re: [nupic-dev] Getting Started With NuPIC
Message-ID:
        <cajv6ndpkpneejeemjhvtq3v25w3q9x--_skd-oo17bg9gzm...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

I have confirmed this error in our VM for the CPU example and filed a bug:

https://issues.numenta.org/browse/NPC-393

In the mean time Daniel, I guess you'll need to run the CPU example without
the visual display.

---------
Matt Taylor
OS Community Flag-Bearer
Numenta


On Mon, Sep 16, 2013 at 1:13 PM, Matthew Taylor <[email protected]> wrote:

> I will run through these wiki instructions again from scratch and see if I
> have the same issue.
>
> ---------
> Matt Taylor
> OS Community Flag-Bearer
> Numenta
>
>
> On Mon, Sep 16, 2013 at 1:10 PM, Daniel Jachyra 
> <[email protected]>wrote:
>
>> Yes, exactly i am using this version.****
>>
>> ** **
>>
>> *From:* nupic [mailto:[email protected]] *On Behalf Of *Matthew
>> Taylor
>> *Sent:* Monday, September 16, 2013 8:53 PM
>>
>> *To:* NuPIC general mailing list.
>> *Subject:* Re: [nupic-dev] Getting Started With NuPIC****
>>
>> ** **
>>
>> Daniel, ****
>>
>> ** **
>>
>> So you're trying to run in a virtual machine from windows, right? Are you
>> using the Vagrant instance we've provided?****
>>
>> ** **
>>
>> https://github.com/numenta/nupic/wiki/Running-Nupic-in-a-Virtual-Machine*
>> ***
>>
>> ** **
>>
>> ** **
>>
>>
>> ****
>>
>> ---------****
>>
>> Matt Taylor****
>>
>> OS Community Flag-Bearer****
>>
>> Numenta****
>>
>> ** **
>>
>> On Mon, Sep 16, 2013 at 11:40 AM, Daniel Jachyra <
>> [email protected]> wrote:****
>>
>> Any advice according to my problem?****
>>
>>  ****
>>
>> *From:* nupic [mailto:[email protected]] *On Behalf Of *Stewart
>> Mackenzie
>> *Sent:* Sunday, September 15, 2013 2:58 PM****
>>
>>
>> *To:* NuPIC general mailing list.
>> *Subject:* Re: [nupic-dev] Getting Started With NuPIC****
>>
>>  ****
>>
>> Gtk and Tk are different. As Marek said look for Tk for python.****
>>
>>
>> --
>> Sent from my Android device with K-9 Mail. Please excuse my brevity.****
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.numenta.org/pipermail/nupic_lists.numenta.org/attachments/20130916/2a457988/attachment-0001.html>

------------------------------

Message: 3
Date: Mon, 16 Sep 2013 23:48:55 +0200
From: "Daniel Jachyra" <[email protected]>
To: "'NuPIC general mailing list.'" <[email protected]>
Subject: Re: [nupic-dev] Getting Started With NuPIC
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Do i need to edit this in cpu.py ?

 

According to this error ("ImportError: libtk8.4.so: cannot open shared
object file: No such file or directory

") I see that I have libtk8.5.so (not 8.4) in /usr/lib64 (not in /usr/lib)
directory. 

 

From: nupic [mailto:[email protected]] On Behalf Of Matthew
Taylor
Sent: Monday, September 16, 2013 11:32 PM
To: NuPIC general mailing list.
Subject: Re: [nupic-dev] Getting Started With NuPIC

 

I have confirmed this error in our VM for the CPU example and filed a bug:

 

https://issues.numenta.org/browse/NPC-393

 

In the mean time Daniel, I guess you'll need to run the CPU example without
the visual display.




---------

Matt Taylor

OS Community Flag-Bearer

Numenta

 

On Mon, Sep 16, 2013 at 1:13 PM, Matthew Taylor <[email protected]> wrote:

I will run through these wiki instructions again from scratch and see if I
have the same issue. 




---------

Matt Taylor

OS Community Flag-Bearer

Numenta

 

On Mon, Sep 16, 2013 at 1:10 PM, Daniel Jachyra <[email protected]>
wrote:

Yes, exactly i am using this version.

 

From: nupic [mailto:[email protected]] On Behalf Of Matthew
Taylor
Sent: Monday, September 16, 2013 8:53 PM


To: NuPIC general mailing list.
Subject: Re: [nupic-dev] Getting Started With NuPIC

 

Daniel, 

 

So you're trying to run in a virtual machine from windows, right? Are you
using the Vagrant instance we've provided?

 

https://github.com/numenta/nupic/wiki/Running-Nupic-in-a-Virtual-Machine

 

 




---------

Matt Taylor

OS Community Flag-Bearer

Numenta

 

On Mon, Sep 16, 2013 at 11:40 AM, Daniel Jachyra <[email protected]>
wrote:

Any advice according to my problem?

 

From: nupic [mailto:[email protected]] On Behalf Of Stewart
Mackenzie
Sent: Sunday, September 15, 2013 2:58 PM


To: NuPIC general mailing list.
Subject: Re: [nupic-dev] Getting Started With NuPIC

 

Gtk and Tk are different. As Marek said look for Tk for python.


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


_______________________________________________
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

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.numenta.org/pipermail/nupic_lists.numenta.org/attachments/20130916/2c57c0b5/attachment-0001.html>

------------------------------

Message: 4
Date: Mon, 16 Sep 2013 15:04:44 -0700
From: Matthew Taylor <[email protected]>
To: "NuPIC general mailing list." <[email protected]>
Subject: Re: [nupic-dev] Getting Started With NuPIC
Message-ID:
        <cajv6ndoec5w5zcz3hle+q-r2fuymqkb4sxyyz58mq3x_okn...@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"

Yes, there is code in there to use matplotlib to display the results. I'm
not sure these results are possible to display from within the VM, because
there's no proper windowing system.

You might be able to get away with removing the plt.draw() and ply.legent()
calls, but you may need to remove all the code that deals with setting up
the output chart as well.

In order to get the cpu results out in another fashion, you could write
them to a file or print them out to the console. You could refer to other
examples for that (like hotgym).

---------
Matt Taylor
OS Community Flag-Bearer
Numenta


On Mon, Sep 16, 2013 at 2:48 PM, Daniel Jachyra <[email protected]>wrote:

> Do i need to edit this in cpu.py ?****
>
> ** **
>
> According to this error (?ImportError: libtk8.4.so: cannot open shared
> object file: No such file or directory****
>
> ?) I see that I have libtk8.5.so (not 8.4) in /usr/lib64 (not in
> /usr/lib) directory. ****
>
> ** **
>
> *From:* nupic [mailto:[email protected]] *On Behalf Of *Matthew
> Taylor
> *Sent:* Monday, September 16, 2013 11:32 PM
>
> *To:* NuPIC general mailing list.
> *Subject:* Re: [nupic-dev] Getting Started With NuPIC****
>
> ** **
>
> I have confirmed this error in our VM for the CPU example and filed a bug:
> ****
>
> ** **
>
> https://issues.numenta.org/browse/NPC-393****
>
> ** **
>
> In the mean time Daniel, I guess you'll need to run the CPU example
> without the visual display.****
>
>
> ****
>
> ---------****
>
> Matt Taylor****
>
> OS Community Flag-Bearer****
>
> Numenta****
>
> ** **
>
> On Mon, Sep 16, 2013 at 1:13 PM, Matthew Taylor <[email protected]> wrote:*
> ***
>
> I will run through these wiki instructions again from scratch and see if I
> have the same issue. ****
>
>
> ****
>
> ---------****
>
> Matt Taylor****
>
> OS Community Flag-Bearer****
>
> Numenta****
>
> ** **
>
> On Mon, Sep 16, 2013 at 1:10 PM, Daniel Jachyra <[email protected]>
> wrote:****
>
> Yes, exactly i am using this version.****
>
>  ****
>
> *From:* nupic [mailto:[email protected]] *On Behalf Of *Matthew
> Taylor
> *Sent:* Monday, September 16, 2013 8:53 PM****
>
>
> *To:* NuPIC general mailing list.
> *Subject:* Re: [nupic-dev] Getting Started With NuPIC****
>
>  ****
>
> Daniel, ****
>
>  ****
>
> So you're trying to run in a virtual machine from windows, right? Are you
> using the Vagrant instance we've provided?****
>
>  ****
>
> https://github.com/numenta/nupic/wiki/Running-Nupic-in-a-Virtual-Machine**
> **
>
>  ****
>
>  ****
>
>
> ****
>
> ---------****
>
> Matt Taylor****
>
> OS Community Flag-Bearer****
>
> Numenta****
>
>  ****
>
> On Mon, Sep 16, 2013 at 11:40 AM, Daniel Jachyra <[email protected]>
> wrote:****
>
> Any advice according to my problem?****
>
>  ****
>
> *From:* nupic [mailto:[email protected]] *On Behalf Of *Stewart
> Mackenzie
> *Sent:* Sunday, September 15, 2013 2:58 PM****
>
>
> *To:* NuPIC general mailing list.
> *Subject:* Re: [nupic-dev] Getting Started With NuPIC****
>
>  ****
>
> Gtk and Tk are different. As Marek said look for Tk for python.****
>
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.****
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.numenta.org/pipermail/nupic_lists.numenta.org/attachments/20130916/e291f69d/attachment-0001.html>

------------------------------

Message: 5
Date: Tue, 17 Sep 2013 01:28:57 +0200
From: Marek Otahal <[email protected]>
To: "NuPIC general mailing list." <[email protected]>
Subject: Re: [nupic-dev] Getting Started With NuPIC
Message-ID:
        <cach1_rqvyt1dhjywi0zy-nmsb97xbi_y7mbkbcr_qfnm0ex...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

@Daniel, the cpu code doesnt give you much w/o the gui, you could hack it
up to print the values instead, but that's not what you;re into for the
starters, i suppose.

For that, have a look at Matt's game! (yep, you can game on nupic ;))
https://github.com/keithcom/nta_ski it's easy to understand code, fun to
play with and console friendly.

@Matt I have on my mind creating a full blown VM
img-git,nupic,mysql,whatnot..I know it's duplicating the Vagrant work, but
honestly i've always be lazy to make it, and with today's net speeds..6GB
img?np. What do you think?


On Tue, Sep 17, 2013 at 12:04 AM, Matthew Taylor <[email protected]> wrote:

> Yes, there is code in there to use matplotlib to display the results. I'm
> not sure these results are possible to display from within the VM, because
> there's no proper windowing system.
>
> You might be able to get away with removing the plt.draw() and
> ply.legent() calls, but you may need to remove all the code that deals with
> setting up the output chart as well.
>
> In order to get the cpu results out in another fashion, you could write
> them to a file or print them out to the console. You could refer to other
> examples for that (like hotgym).
>
> ---------
> Matt Taylor
> OS Community Flag-Bearer
> Numenta
>
>
> On Mon, Sep 16, 2013 at 2:48 PM, Daniel Jachyra 
> <[email protected]>wrote:
>
>> Do i need to edit this in cpu.py ?****
>>
>> ** **
>>
>> According to this error (?ImportError: libtk8.4.so: cannot open shared
>> object file: No such file or directory****
>>
>> ?) I see that I have libtk8.5.so (not 8.4) in /usr/lib64 (not in
>> /usr/lib) directory. ****
>>
>> ** **
>>
>> *From:* nupic [mailto:[email protected]] *On Behalf Of *Matthew
>> Taylor
>> *Sent:* Monday, September 16, 2013 11:32 PM
>>
>> *To:* NuPIC general mailing list.
>> *Subject:* Re: [nupic-dev] Getting Started With NuPIC****
>>
>> ** **
>>
>> I have confirmed this error in our VM for the CPU example and filed a bug:
>> ****
>>
>> ** **
>>
>> https://issues.numenta.org/browse/NPC-393****
>>
>> ** **
>>
>> In the mean time Daniel, I guess you'll need to run the CPU example
>> without the visual display.****
>>
>>
>> ****
>>
>> ---------****
>>
>> Matt Taylor****
>>
>> OS Community Flag-Bearer****
>>
>> Numenta****
>>
>> ** **
>>
>> On Mon, Sep 16, 2013 at 1:13 PM, Matthew Taylor <[email protected]> wrote:
>> ****
>>
>> I will run through these wiki instructions again from scratch and see if
>> I have the same issue. ****
>>
>>
>> ****
>>
>> ---------****
>>
>> Matt Taylor****
>>
>> OS Community Flag-Bearer****
>>
>> Numenta****
>>
>> ** **
>>
>> On Mon, Sep 16, 2013 at 1:10 PM, Daniel Jachyra <[email protected]>
>> wrote:****
>>
>> Yes, exactly i am using this version.****
>>
>>  ****
>>
>> *From:* nupic [mailto:[email protected]] *On Behalf Of *Matthew
>> Taylor
>> *Sent:* Monday, September 16, 2013 8:53 PM****
>>
>>
>> *To:* NuPIC general mailing list.
>> *Subject:* Re: [nupic-dev] Getting Started With NuPIC****
>>
>>  ****
>>
>> Daniel, ****
>>
>>  ****
>>
>> So you're trying to run in a virtual machine from windows, right? Are you
>> using the Vagrant instance we've provided?****
>>
>>  ****
>>
>> https://github.com/numenta/nupic/wiki/Running-Nupic-in-a-Virtual-Machine*
>> ***
>>
>>  ****
>>
>>  ****
>>
>>
>> ****
>>
>> ---------****
>>
>> Matt Taylor****
>>
>> OS Community Flag-Bearer****
>>
>> Numenta****
>>
>>  ****
>>
>> On Mon, Sep 16, 2013 at 11:40 AM, Daniel Jachyra <
>> [email protected]> wrote:****
>>
>> Any advice according to my problem?****
>>
>>  ****
>>
>> *From:* nupic [mailto:[email protected]] *On Behalf Of *Stewart
>> Mackenzie
>> *Sent:* Sunday, September 15, 2013 2:58 PM****
>>
>>
>> *To:* NuPIC general mailing list.
>> *Subject:* Re: [nupic-dev] Getting Started With NuPIC****
>>
>>  ****
>>
>> Gtk and Tk are different. As Marek said look for Tk for python.****
>>
>>
>> --
>> Sent from my Android device with K-9 Mail. Please excuse my brevity.****
>>
>>
>> _______________________________________________
>> 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
>
>


-- 
Marek Otahal :o)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.numenta.org/pipermail/nupic_lists.numenta.org/attachments/20130917/a8f2197d/attachment.html>

------------------------------

Subject: Digest Footer

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


------------------------------

End of nupic Digest, Vol 5, Issue 37
************************************

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

Reply via email to