Problem with predicting sine waves

I was following the predicting sine wave examples and I ran up with a problem with the 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

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
  <description>Password for the MySQL database server </description>
1 Like