Jump to content
  • 0

SDK errors on macOS


Andy_Can

Question

I am trying to run a python script on Waveforms SDK but am receiving this error:

Andrews-MacBook-Pro-4:py AndySager$ sudo python AnalogImpedance_Analyzer.py

Password:

Traceback (most recent call last):

  File "AnalogImpedance_Analyzer.py", line 21, in <module>

    dwf = cdll.LoadLibrary("/Library/Frameworks/dwf.framework/dwf")

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 440, in LoadLibrary

    return self._dlltype(name)

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 362, in __init__

    self._handle = _dlopen(self._name, mode)

OSError: dlopen(/Library/Frameworks/dwf.framework/dwf, 6): image not found

My colleague has verified that it works on his window's machine. Any Ideas?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Thanks for your response. I ended up manually moving dfw.framework from package contents to the framework folder with success. I thought I did what you suggested when I installed which was cause for my confusion.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...