Standalone python DLL error


I am trying to get Python for MANTID working on an external editor (PyCharm). I am using the python interpreter in the mantid installation directory, and am trying to run the following:

import sys
import os

from mantid.simpleapi import *

Which gives the following error message:

Traceback (most recent call last):
  File "C:/Users/jre16531/PycharmProjects/Wimtid/", line 5, in <module>
    from mantid.simpleapi import *
  File "C:\MantidInstall\bin\mantid\", line 73, in <module>
    import mantid.kernel as kernel
  File "C:\MantidInstall\bin\mantid\kernel\", line 14, in <module>
    from ._kernel import *
ImportError: DLL load failed: The specified module could not be found.

I am able to see the dll I believe this is referring to on my filesystem, but for some reason this cannot seem to find it. I am using Windows 7, MANTID 3.10 and compiling with the bin/python.exe which is preinstalled with MANITD,

Sorted it now, I had the working directory in the external editor set to the wrong placeā€¦