I am trying to run the python script "Device_Enumeration.py", but cannot seem to load the dwf.dll. When I attempt to run the script in anaconda 2 or Idle (python 2.7.8), I get the following error:
File "<ipython-input-8-4aa4827489b3>", line 1, in <module>
runfile('C:/Users/John/.spyder2/py/Device_Enumeration.py', wdir='C:/Users/John/.spyder2/py')
File "C:\Users\John\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 685, in runfile
execfile(filename, namespace)
File "C:\Users\John\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 71, in execfile
exec(compile(scripttext, filename, 'exec'), glob, loc)
File "C:/Users/John/.spyder2/py/Device_Enumeration.py", line 14, in <module>
dwf = cdll.dwf
File "C:\Users\John\Anaconda2\lib\ctypes\__init__.py", line 435, in __getattr__
dll = self._dlltype(name)
File "C:\Users\John\Anaconda2\lib\ctypes\__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] The specified module could not be found
I have copied the dwf.dll to my working directory with no luck. I am running windows 7, 64 bit.
What is the best path forward to get this working? How is the Digilent Adept Runtime used?
Question
Moto_NOX
Hi,
I am trying to run the python script "Device_Enumeration.py", but cannot seem to load the dwf.dll. When I attempt to run the script in anaconda 2 or Idle (python 2.7.8), I get the following error:
runfile('C:/Users/John/.spyder2/py/Device_Enumeration.py', wdir='C:/Users/John/.spyder2/py')
Traceback (most recent call last):
File "<ipython-input-8-4aa4827489b3>", line 1, in <module>
runfile('C:/Users/John/.spyder2/py/Device_Enumeration.py', wdir='C:/Users/John/.spyder2/py')
File "C:\Users\John\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 685, in runfile
execfile(filename, namespace)
File "C:\Users\John\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 71, in execfile
exec(compile(scripttext, filename, 'exec'), glob, loc)
File "C:/Users/John/.spyder2/py/Device_Enumeration.py", line 14, in <module>
dwf = cdll.dwf
File "C:\Users\John\Anaconda2\lib\ctypes\__init__.py", line 435, in __getattr__
dll = self._dlltype(name)
File "C:\Users\John\Anaconda2\lib\ctypes\__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] The specified module could not be found
I have copied the dwf.dll to my working directory with no luck. I am running windows 7, 64 bit.
What is the best path forward to get this working? How is the Digilent Adept Runtime used?
Thanks,
John
7 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.