How to tell what version of nupic you have

Outside of the python environment, it’s hard to tell what version of NuPIC and NuPIC Core you have installed. But you can run this command from your command line to evaluate this line of pythong code, which will import and inspect the packages.

python -c 'import pkg_resources;n=pkg_resources.get_distribution("nupic");b=pkg_resources.get_distribution("nupic.bindings");print n.project_name, n.version;print b.project_name, b.version'

This should print something like this:

nupic 0.5.7
nupic.bindings 0.4.13