I already installed Tk for python i still getting error bellow:

 

[vagrant@nupic-vagrant:~/nupic/examples/opf/clients/cpu]$ python cpu.py         
Traceback (most recent call last):

  File "cpu.py", line 29, in <module>

    from matplotlib.pylab import draw, plot

  File "/home/vagrant/nta/eng/lib/python2.6/site-packages/matplotlib/pylab.py", 
line 253, in <module>

    from matplotlib.pyplot import *

  File 
"/home/vagrant/nta/eng/lib/python2.6/site-packages/matplotlib/pyplot.py", line 
75, in <module>

    new_figure_manager, draw_if_interactive, show = pylab_setup()

  File 
"/home/vagrant/nta/eng/lib/python2.6/site-packages/matplotlib/backends/__init__.py",
 line 25, in pylab_setup

    globals(),locals(),[backend_name])

  File 
"/home/vagrant/nta/eng/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py",
 line 8, in <module>

    import tkagg                 # Paint image to Tk photo blitter extension

  File 
"/home/vagrant/nta/eng/lib/python2.6/site-packages/matplotlib/backends/tkagg.py",
 line 1, in <module>

    import _tkagg

ImportError: libtk8.4.so: cannot open shared object file: No such file or 
directory

 

From: nupic [mailto:[email protected]] On Behalf Of Marek Otahal
Sent: Sunday, September 15, 2013 2:34 PM
To: NuPIC general mailing list.
Subject: Re: [nupic-dev] Getting Started With NuPIC

 

looks like you're missing a windowing/graphics toolkit for python, be default 
it should fallback to the one avail. at your system. 

Try installing eg. Tk for python

 

On Sun, Sep 15, 2013 at 12:41 PM, Daniel Jachyra <[email protected]> 
wrote:

Please, could you help with an error during CPU client example:

 

Traceback (most recent call last):

  File "cpu.py", line 29, in <module>

    from matplotlib.pylab import draw, plot

  File "/home/vagrant/nta/eng/lib/python2.6/site-packages/matplotlib/pylab.py", 
line 253, in <module>

    from matplotlib.pyplot import *

  File 
"/home/vagrant/nta/eng/lib/python2.6/site-packages/matplotlib/pyplot.py", line 
75, in <module>

    new_figure_manager, draw_if_interactive, show = pylab_setup()

  File 
"/home/vagrant/nta/eng/lib/python2.6/site-packages/matplotlib/backends/__init__.py",
 line 25, in pylab_setup

    globals(),locals(),[backend_name])

  File 
"/home/vagrant/nta/eng/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py",
 line 7, in <module>

    import Tkinter as Tk, FileDialog

ImportError: No module named Tkinter

 

 

2013/9/9 Tim McNamara <[email protected]>

I found the CPU client example very informative. From there, I moved to hotgym.

 

It was quite fun modifying the CPU client to include multiple input variables, 
such as a value for each CPU as well as memory usage and numbers of processors 
running.

 

Getting matplotlib to function within a virtualenv is a real pain though! 

 

On 9 September 2013 09:43, Daniel Jachyra <[email protected]> wrote:

Which example or examples illustrates the best CLA function?

I would like to understand and learn how sequences are stored and recognized. 

 

From: nupic [mailto:[email protected]] On Behalf Of Marek Otahal
Sent: Sunday, September 08, 2013 11:17 PM
To: NuPIC general mailing list.
Subject: Re: [nupic-dev] Getting Started With NuPIC

 

Hi, 

a quick reply..IMHO no. That document is dated, eg. NuPIC won't run on Windows 
now, and the bitworm example (is that what you're speaking about?) is not 
implemented currently.  

On the other hand, we have (much more) simple running examples, if you want, 
have a look at nupic project on github. 

In case you are somehow interested in the Bitworm specifically, I think it will 
be quite easy to implement with current state. 

Cheers, Mark

 

On Sun, Sep 8, 2013 at 10:07 PM, Daniel Jachyra <[email protected]> 
wrote:

Dear all,

 

Is it possible to run (in actual NuPIC version) somehow examples described in 
this “Getting Started With NuPIC”  
(https://ainotebook.googlecode.com/svn-history/r256/trunk/ainotebook/nupic/TestNu1/docs/archives/nupic_gettingstarted.pdf
 )?

 

Thank you in advance


_______________________________________________
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) 

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

Reply via email to