Problem with predicting sine waves

I was following the predicting sine wave examples and I ran up with a problem with the run_swarm.py part. Below is the output.


Nupic and also mysql is properly installed in my system. Please help. Thank you.

What version of nupic is installed?

I am using Nupic version 0.6.0

**SOLVED IT.**
I needed to set the mysql root password in the nupic-default.xml file in /usr/local/lib/python2.7/dist-packages/nupic/support.
Look for this section
<property>
  <name>nupic.cluster.database.passwd</name>
  <value>yourPasswordHere</value>
  <description>Password for the MySQL database server </description>
</property>
1 Like