I have problem with python API

I want use FrontPanel API with python but It doesn’t work

when i run “Counters.py”


Traceback (most recent call last):
File “E:\FrontPanel\Samples\Counters\Counters.py”, line 1, in
import ok
File “C:\Python27\lib\site-packages\ok_init_.py”, line 12, in
from ok import *
File “C:\Python27\lib\site-packages\ok\ok.py”, line 25, in
_ok = swig_import_helper()
File “C:\Python27\lib\site-packages\ok\ok.py”, line 24, in swig_import_helper
return _mod
UnboundLocalError: local variable ‘_mod’ referenced before assignment

message is occur

My python version is Python 2.7.12 (32bit) and i’m using windows10 (64bit)

how can i fix it?

i want your advice for me

ps. sorry for my bad english

Our 64-bit installer only installs the 64-bit Python libraries. You will either need to use Python 64-bit or also install the 32-bit FrontPanel to get the 32-bit Python libraries.

I have only 64 bit version FrontPanel
how can i have 32 bit FrontPanel version?