Andy_Can Posted June 26, 2020 Share Posted June 26, 2020 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 More sharing options...
attila Posted June 29, 2020 Share Posted June 29, 2020 Hi @Andy_Can Did you install the dwf.framework ? Link to comment Share on other sites More sharing options...
Andy_Can Posted June 29, 2020 Author Share Posted June 29, 2020 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 More sharing options...
Question
Andy_Can
I am trying to run a python script on Waveforms SDK but am receiving this error:
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
Archived
This topic is now archived and is closed to further replies.