如何在Macbook中运行python Demo


#1

dobot magician,想通过编程语言调用API。 但是下面页面的DobotDemoV2.0,不太明白如何使用。
http://cn.dobot.cc/download-center/dobot-magician.html

比如说DobotDemoForPython如何在Macbook上使用?
dll文件都是面向Windows的,没法在Macbook上运行吧?

在Macbook上运行时出现以下错误。
%python DobotControl.py
Traceback (most recent call last):
File “DobotControl.py”, line 4, in
api = dType.load()
File “/Users/outannexway/Downloads/dobot/DobotDemoV2.0-20170118/DobotDemoForPython/DobotDllType.py”, line 422, in load
return cdll.DobotDll
File “/Users/outannexway/.pyenv/versions/3.4.3/lib/python3.4/ctypes/init.py”, line 421, in getattr
dll = self._dlltype(name)
File “/Users/outannexway/.pyenv/versions/3.4.3/lib/python3.4/ctypes/init.py”, line 351, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(DobotDll, 6): image not found


#2

我也想用python进行控制,请问你找到方法了吗?


#3

看到你另外一个帖子了
Thanks:slight_smile:


#4

下面的这个帖子中有详细的说明,

发重了,想删除这个帖子,但好像没有权限?