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