I have been trying to import the ok.py library and I get the following error message:
Traceback (most recent call last):
File “c:/Users/admin/Code/VSC/Test/ok1.py”, line 3, in
File “C:\Users\admin\anaconda3\ok.py”, line 26, in
_ok = swig_import_helper()
File “C:\Users\admin\anaconda3\ok.py”, line 22, in swig_import_helper
_mod = imp.load_module(’_ok’, fp, pathname, description)
File “C:\Users\admin\anaconda3\lib\imp.py”, line 242, in load_module
return load_dynamic(name, filename, file)
File “C:\Users\admin\anaconda3\lib\imp.py”, line 342, in load_dynamic
ImportError: DLL load failed while importing _ok: The specified module could not be found.
The specified python files are in my python sitespackages directory, and I put the “frontpanel.dll” in the same directory as my python.exe (I read a previous thread about someone finding a solution to this same problem by pasting the .dll there).
I am using python 3.8
Does anyone have any advice?