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\swarm.py”, line 32, in
from nupic.swarming import permutations_runner
File “C:\Python27\lib\site-packages\nupic\swarming\permutations_runner.py”, line 36, in
from nupic.swarming import HypersearchWorker
File “C:\Python27\lib\site-packages\nupic\swarming\HypersearchWorker.py”, line 40, in
from HypersearchV2 import HypersearchV2
File “C:\Python27\lib\site-packages\nupic\swarming\HypersearchV2.py”, line 41, in
from nupic.frameworks.opf import opfhelpers
ImportError: cannot import name opfhelpers

Any ideas?

Many thanks,
Mark

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.