DLL load failed

Hi, Jake
I installed everything from your CD(FP,Python,wxPython), then try to run counters.py in sample fold, but got message as below

Traceback (most recent call last):
File “C:\Program Files\Opal Kelly\FrontPanel\Samples\Counters\Counters.py”, line 1, in -toplevel-
from ok import *
File “C:\Python23\lib\site-packages\ok_init_.py”, line 12, in -toplevel-
from ok import *
File “C:\Python23\lib\site-packages\ok\ok.py”, line 5, in -toplevel-
import _ok
ImportError: DLL load failed: The specified module could not be found.

Please help.

thanks
Jason

Hi Jason-

If Python wasn’t installed when you went through the FrontPanel installation procedure, then you have to copy the files by hand. For my setup here, the destination directory is:

c:\Python23\Lib\site-packages\ok

The source files are:

init.py
version.py
ok.py
_ok.dll

These will be located in the API\Python directory of your Windows installation (normally at c:\Program Files\Opal Kelly\FrontPanel).

Cheers,
Jake

Hi, Jake
Thanks for your prompt reply.
I did install FrontPanel after Python, so ok fold was already there, and files too. You can see from the message lines in last post. It seems _ok.dll can’t loaded when initializing. The OS is Windows 2000.
Please help again

Jason