Import Error: No module named mantidqt

Hello
Previously I have built Mantidplot successfully. For some reason that I regret I have deleted my build and tried again.

mkdir build → cd build → cmake … → make

MantidPlot builds but when I try to run a python script in the Python Window I have an import error.

ImportError: No module named mantidqt

Any advice gratefully received.

Looking at the CMakeList.txt files it looks like the ENABLE_WORKBENCH option was set to OFF.

Does this work now that Workbench is enabled? Is this recent source code?

I’m in the process of updateing to the latest mantid source. Currently I am on mantid branch v4.2.0.

Setting ENABLE_WORKBENCH=ON has fixed this problem for me.