Matplotlib can be troublesome to get installed properly. That's why
there is a --plot option, so the example can be run without it.
---------
Matt Taylor
OS Community Flag-Bearer
Numenta


On Thu, Apr 2, 2015 at 8:49 AM, Giuseppe Torre <[email protected]> wrote:
> Yes and indeed it is on when I want to run the examples such as "One Gym"...
> However there seems to be a problem with matplotlib despite of it being in
> the darwing64 folder...
>
> ...running ./run.py --plot   gives the follwing error and nothing is
> displayed:
>
> Creating model from rec-center-hourly...
> Importing model params from model_params.rec_center_hourly_model_params
> Traceback (most recent call last):
>   File "./run.py", line 149, in <module>
>     runModel(GYM_NAME, plot=plot)
>   File "./run.py", line 139, in runModel
>     runIoThroughNupic(inputData, model, gymName, plot)
>   File "./run.py", line 99, in runIoThroughNupic
>     output = nupic_output.NuPICPlotOutput([gymName])
>   File
> "/Users/giuseppetorre/nupic/examples/opf/clients/hotgym/prediction/one_gym/nupic_output.py",
> line 116, in __init__
>     plt.ion()
> NameError: global name 'plt' is not defined
>
> On Thu, Apr 2, 2015 at 1:28 PM, David Ray <[email protected]>
> wrote:
>>
>> My bet is that it should just be on for invocation during start up of
>> programs for input resolution and directory resolution?
>>
>> Sent from my iPhone
>>
>> > On Apr 1, 2015, at 10:29 PM, Matthew Taylor <[email protected]> wrote:
>> >
>> > Glad you got it working.
>> >
>> >> On Wed, Apr 1, 2015 at 1:06 AM, Giuseppe Torre <[email protected]>
>> >> wrote:
>> >> Do I need to deactivate nupic-darwin64 now? or it need to be "on" all
>> >> the
>> >> time I am using nupic?
>> >
>> > I never deactivated mine when I was installing that way. Austin are
>> > you reading this? If so do you know the answer? This is just a general
>> > virtualenv question, so if anyone knows, please tell. :)
>> >
>> >
>> >
>> > ---------
>> > Matt Taylor
>> > OS Community Flag-Bearer
>> > Numenta
>> >
>>
>
>
>
> --
> _______________________________
>
> Dr. Giuseppe Torre
> DMARC (Digital Media & Arts Research Centre)
> Dept. of Computer Science & Information Systems
> Faculty of Science and Engineering
> University of Limerick
> Limerick
> Ireland
> Room CS2-007
> tel. +353 (0) 61 23 4611
>
> links:
> www.muresearchlab.com
> www.dmarc.ie
> www.ul.ie

Reply via email to