I am trying to control my Dobot Magician Lite using Python.
I downloaded demo-magician-python-64-master and ran DobotControl.py but recieved the following error:
(base) luke@Lukes-MBP-3 demo-magician-python-64-master % python3 DobotControl.py
Traceback (most recent call last):
File “DobotControl.py”, line 11, in
api = dType.load()
File “/Users/luke/Downloads/dobot_demo/demo-magician-python-64-master/DobotDllType.py”, line 593, in load
return CDLL("./libDobotDll.dylib", RTLD_GLOBAL)
File “/Users/luke/opt/anaconda3/lib/python3.8/ctypes/init.py”, line 373, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(./libDobotDll.dylib, 10): image not found
Does anyone know how to fix the above error? Thanks