Standalone python DLL error

Hi,

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
sys.path.append(os.environ['MANTIDPATH'])

from mantid.simpleapi import *

Which gives the following error message:

Traceback (most recent call last):
  File "C:/Users/jre16531/PycharmProjects/Wimtid/UserFunctions.py", line 5, in <module>
    from mantid.simpleapi import *
  File "C:\MantidInstall\bin\mantid\__init__.py", line 73, in <module>
    import mantid.kernel as kernel
  File "C:\MantidInstall\bin\mantid\kernel\__init__.py", 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ā€¦