Python not working on Mac


#1

Hi When I run the Python for Mac demo I get this error
Python 3.7.6 (v3.7.6:43364a7ae0, Dec 18 2019, 14:18:50)
[Clang 6.0 (clang-600.0.57)] on darwin
Type “help”, “copyright”, “credits” or “license()” for more information.

= RESTART: /Users/vmehta/Documents/Dobot/DobotDemoV2.0/DobotDemoForPython 3/DobotControl.py
Traceback (most recent call last):
File “/Users/vmehta/Documents/Dobot/DobotDemoV2.0/DobotDemoForPython 3/DobotControl.py”, line 10, in
api = dType.load()
File “/Users/vmehta/Documents/Dobot/DobotDemoV2.0/DobotDemoForPython 3/DobotDllType.py”, line 460, in load
return CDLL(“libDobotDll.dylib”, RTLD_GLOBAL)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ctypes/init.py”, line 364, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(libDobotDll.dylib, 10): Library not loaded: @rpath/QtSerialPort.framework/Versions/5/QtSerialPort
Referenced from: /Users/vmehta/Documents/Dobot/DobotDemoV2.0/DobotDemoForPython 3/libDobotDll.dylib
Reason: image not found