On Windows7, I have a module installed via an executable.
If I go to the command line, import mymodule
works ok.
However, if I open spyder, on the python console it fails:
>>> import mymodule
File "D:\anaconda32\lib\site-packages\mymodule.py", line 28, in <module>
_mymodule = swig_import_helper()
File "D:\anaconda32\lib\site-packages\mymodule.py", line 20, in swig_import_helper
import _mymodule
ImportError: DLL load failed: The specified procedure could not be found.
On the IPython console in Spyder the module imports ok. Although, on starting up, I get the following message repeated twice:
Kernel died, restarting
Can anyone explain what is happening here?
I have tried purging the system of python and re-installing.
Following other similar questions I've examined mymodule.pyd and found some warnings:
I'm unsure what steps to take next, any ideas?
Similar, but not duplicate, questions:
DLL load failed with scipy.optimize?
How to install TensorFlow on Windows?
ImportError: DLL load failed: The specified procedure could not be found. Python