I am trying to use FrontPanel 4 with python 2.6.6 on Windows 7 OS. To avoid any compatibility issue with my previous stuff on python I have installed FrontPanel win32 version and python 2.6.6 win32.
Under the FrontPanel/Python27 installation folder, I’ve copied all files in my Python26/Libs/sites-package area including _ok.pyd file.
But when I “import ok” in the basic script, I have an error saying the _ok module could not be found.
(2, 6, 6, ‘final’, 0)
Traceback (most recent call last):
File “C:\Python26\Lib\site-packages\ok.py”, line 26, in
_ok = swig_import_helper()
File “C:\Python26\Lib\site-packages\ok.py”, line 22, in swig_import_helper
_mod = imp.load_module(’_ok’, fp, pathname, description)
ImportError: DLL load failed: The specified module could not be found.
Tool completed with exit code 1
Am I wrong somewhere ?