ImportError: DLL load Failed: The specifiied module could not be found


I’m trying to use the FrontPanel API with the following version of python, on a windows XP machine:

Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win

When I run my script I get this error:

Traceback (most recent call last):
File “C:\Program Files\Wing IDE 101 4.1\src\debug\”, line 1, in
# Used internally for debug sandbox under external interpreter
File “c:\Python27\Lib\”, line 26, in
_ok = swig_import_helper()
File “c:\Python27\Lib\”, line 24, in swig_import_helper
_mod = imp.load_module(’_ok’, fp, pathname, description)
ImportError: DLL load failed: The specified module could not be found.

The script I wrote runs perfectly on Windows 7 and I’ve copied the 4 required python files to the directory in which python is run from, as instructed in the manual.

Any help would be greatly appreciated. Thanks.

I’m pretty sure I’m missing winusb.dll and that is causing the problem…

Fixed: - Needed to plug the device in to fully install the driver. After that was done, the script ran as expected.