you are right. I just removed the matplotlib and "matplotlib-1.1.1-py2.7.egg-info from the darwing64 folder and I still get the graph. Probably my problem was due to that having matplotlib in the darwing64, terminal did not allow me to install it in the System/Library etc...(most likely where it should be)...indeed Terminal was saying "requirement already satisfied" been "darwing64 and all lib" in the ENV. /G
On Fri, Apr 3, 2015 at 6:04 PM, Matthew Taylor <[email protected]> wrote: > Very good, thank you! Now that I think about it, I'm not sure we need > matplotlib in these dependency repositories. > > --------- > Matt Taylor > OS Community Flag-Bearer > Numenta > > > On Fri, Apr 3, 2015 at 9:01 AM, Giuseppe Torre <[email protected]> > wrote: > > Alright, > > the solution was quite easy actually. > > It seems that the version of matplot lib in the darwin64 folder is either > > not for mac os x 10.9 or broken or else (I have no idea really). > > Anyway, I did the following and it worked: > > > > Removed the following files and folders from the nupic-darwin64 folder: > > matplotlib folder and matplotlib-1.1.0-py2.7.egg-info > > > > in terminal run the following command to install matplotlib: > > > > pip install matplotlib > > > > at this point matplot lib should be installed in > > > /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python > > > > from this location find and copy the "matplotlib" folder and > > "matplotlib-1.1.1-py2.7.egg-info" into > > nupic-darwin64/lib/python2.7/site-packages > > > > now running: ./run.py --plot will give you the graphics. > > (I am using mac os x 10.9) > > /G > > > > > > > > On Thu, Apr 2, 2015 at 6:00 PM, Giuseppe Torre <[email protected]> > > wrote: > >> > >> yes it is indeed.... I will do my best to sort this out and if > successful > >> I will post the solution in case someone else will face similar issues.. > >> /G > >> > >> On Thu, Apr 2, 2015 at 5:52 PM, Matthew Taylor <[email protected]> > wrote: > >>> > >>> 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 > >>> >> > > >>> >> > >>> > > >>> > > >>> > > >>> > -- > >>> > >>> > >> > > > >
