Cannot Import opfhelpers

Hi all,

Have been attempting to run the hot gym tutorial, but I’ve managed to get stuck on the swarm step. One of the python modules is having trouble importing a package, and I’m stumped. Please see below traceback message:

Traceback (most recent call last):
File “E:\Datch\Nupic\examples\opf\clients\hotgym\prediction\one_gym\”, line 32, in
from nupic.swarming import permutations_runner
File “C:\Python27\lib\site-packages\nupic\swarming\”, line 36, in
from nupic.swarming import HypersearchWorker
File “C:\Python27\lib\site-packages\nupic\swarming\”, line 40, in
from HypersearchV2 import HypersearchV2
File “C:\Python27\lib\site-packages\nupic\swarming\”, line 41, in
from nupic.frameworks.opf import opfhelpers
ImportError: cannot import name opfhelpers

Any ideas?

Many thanks,

1 Like

Hello @mfosdike welcome to the forums.

See breaking changes in 0.7.0.dev0 (specifically this one) and how to fix.

This seems to be becoming more common (see similar report here). I will be releasing 0.7.0 soon, which should help a lot.