Problems using a Nupic example (Hotgym)

Hm, I’m encountering this, and re-installing matplotlib doesn’t seem to help at all. I see that there is indeed a file at model_params/__init__.py. Any ideas on how to troubleshoot?

Figured it out; I didn’t have tk installed.

1 Like

I have installed both matplotlib and tkinter with apt-get and then used pip install in the project’s virtual environment. But still no plot shows when I run run.py with the plot option on. What else could I try?

@Sofia_Yfantidou Are you seeing any errors in the console output?

Nope, no errors. And actually, after a long execution, I got part of the plot in the end of the execution.

So matplotlib behaves different on different environments. The failure to plot is likely out of scope of HTM Forum. I suggest you write out the data to a file so you can plot them using other tools.