Hi All,
So I’m trying to get NuPIC running on Windows 10 and running into issues:
1) After running swarm_description I get the following error when trying to run swarm:
ImportError: No module name DBUtils
I followed the MySQL install instructions as shown on the wiki:
MySQL setup for NuPIC;
-
Copy https://github.com/numenta/nupic/blob/master/src/nupic/support/nupic-default.xml to C:\Python27-x64\Lib\site-packages\nupic\support directory
-
Rename this copied file to nupic-site.xml
-
Use a text editor (e.g. notepad) to edit the nupic-site.xml file
-
Update the field for nupic.cluster.database.passwd (and other nupic.cluster.database entries, if required)
For this last bullet here’s what I updated to:
!-- database credentials, used for swarming –
property
name>nupic.cluster.database.host
value>localhost
description>Name of the machine running the MySQL database server
property
name>nupic.cluster.database.user
value>root
description>Username for the MySQL database server
property
name>nupic.cluster.database.passwd
value>Battousai29
description>Password for the MySQL database server
property
name>nupic.cluster.database.nameSuffix
value>${env.USER}
description>Suffix to place at the end of each database name.
2) When running the command prompt instructions (just about the MySQL instructions), the command:
python -c "from nupic.bindings.math import Random; print Random().getUInt64();"
gives an error: no module name math
3) After pip installing nupic I try ‘import nupic’ in python and it does work, but then if I try nupic.bindings I’m told that: ‘module’ has no attribute ‘bindings’
I know there are pieces missing here, and if anyone has any instincts on what I might be doing wrong that’d be awesome!! Thanks,
– Sam