Jump to content

alikarb

Members
  • Posts

    1
  • Joined

  • Last visited

alikarb's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. I was able to clone the github repo (https://github.com/Digilent/WaveForms-SDK-Getting-Started-PY/tree/master/WF_SDK). I copied the dwfconstants.py from the python example directory within /usr/shared/digilent. i was successfully able to install the pacakge using "python3 -m pip install ." When I run the below code, I get the error at the end. Please help from time import sleep from WF_SDK import device deviceName = "DigilentDiscovery" deviceData = device.open() # deviceName.name = deviceName alikarb@alikarb-Blade-14-RZ09-0370:~/Documents/GitHub_Repositories/Insturment_Automation/DigilentDiscovery/WaveForms-SDK-Getting-Started-PY$ /bin/python3 /home/alikarb/Documents/GitHub_Repositories/Insturment_Automation/DigilentDiscovery/ExampleDigilentAutomation.py Traceback (most recent call last): File "/home/alikarb/Documents/GitHub_Repositories/Insturment_Automation/DigilentDiscovery/ExampleDigilentAutomation.py", line 2, in <module> from WF_SDK import device File "/home/alikarb/.local/lib/python3.8/site-packages/WF_SDK/__init__.py", line 5, in <module> from WF_SDK import device File "/home/alikarb/.local/lib/python3.8/site-packages/WF_SDK/device.py", line 40, in <module> dwf = ctypes.cdll.LoadLibrary("libdwf.so") File "/usr/lib/python3.8/ctypes/__init__.py", line 451, in LoadLibrary return self._dlltype(name) File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__ self._handle = _dlopen(self._name, mode) OSError: /lib/libdwf.so: undefined symbol: DmgtConfigureFPGA
×
×
  • Create New...