Hello,
I am trying to control my Dobot Magician from my Mac using Python. I was attempting to use the DobotDemoForPython contained in DobotDemoV2.0 but I get the following error:
DobotDemoForPython nicka$ ./DobotControl.py
Traceback (most recent call last):
File “./DobotControl.py”, line 6, in
api = dType.load()
File “/Users/nicholas.akiona/Documents/DoBot/DobotDemoV2.0/DobotDemoForPython/DobotDllType.py”, line 422, in load
return cdll.DobotDll
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/init.py”, line 435, in getattr
dll = self._dlltype(name)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/init.py”, line 365, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(DobotDll, 6): image not found
How do I fix this error? Any other recommendations for how to easily control my Dobot Magician from my Macbook using python?
I am also open to developing in C++ if that is easier.
Thanks for your help.