Scratch that! Just needed to restart pyCharm.
But now I’m getting this:
File "/Library/Python/2.7/site-packages/pymysql/connections.py", line 818, in
_connect
2003, "Can't connect to MySQL server on %r (%s)" % (self.host, e))
OperationalError: (2003, "Can't connect to MySQL server on 'localhost' ([Errno
61] Connection refused)”)
Are they additional dependencies for the tutorials?
thanks,
Nicholas
> On Nov 3, 2014, at 10:23 PM, Matthew Taylor <[email protected]> wrote:
>
> Nicholas,
>
> Set the "NUPIC" environment variable to the path to your NuPIC checkout
> directory and try running again.
>
> ---------
> Matt Taylor
> OS Community Flag-Bearer
> Numenta
>
> On Mon, Nov 3, 2014 at 12:14 PM, Nicholas Mitri <[email protected]
> <mailto:[email protected]>> wrote:
> Hey all,
>
> So I downloaded the code linked in the wiki and when running it, I get the
> following:
>
> from nupic.swarming import permutations_runner
> File
> "/Library/Python/2.7/site-packages/nupic-0.1.0-py2.7.egg/nupic/swarming/permutations_runner.py",
> line 42, in <module>
> from nupic.swarming import HypersearchWorker, utils
> File
> "/Library/Python/2.7/site-packages/nupic-0.1.0-py2.7.egg/nupic/swarming/HypersearchWorker.py",
> line 42, in <module>
> from HypersearchV2 import HypersearchV2
> File
> "/Library/Python/2.7/site-packages/nupic-0.1.0-py2.7.egg/nupic/swarming/HypersearchV2.py",
> line 48, in <module>
> from nupic.frameworks.opf.exp_generator.ExpGenerator import expGenerator
> File
> "/Library/Python/2.7/site-packages/nupic-0.1.0-py2.7.egg/nupic/frameworks/opf/exp_generator/ExpGenerator.py",
> line 59, in <module>
> METRIC_WINDOW = int(Configuration.get("nupic.opf.metricWindow"))
> TypeError: int() argument must be a string or a number, not ‘NoneType'
>
>
> This is a fresh install of the codebase from last week on a freshly installed
> OS X 10.10 mac.
> Has anything changed in the codebase that would cause the tutorial code to be
> obsolete?
>
> Thanks,
> Nicholas
>