有谁知道如何使用 pylibpd-library 将纯数据实现到搅拌机中?我自己尝试过,但在尝试导入模块时才出现此错误。有没有可能?我正在使用搅拌机 2.7 的 mac 版本。
Python script error - object 'Cube', controller 'Python':
Traceback (most recent call last):
File "pd.py", line 1, in <module>
File "/Users/"myusername"/Desktop/BlenderPylibpdTest/pylibpd.py", line 26, in <module>
_pylibpd = swig_import_helper()
File "/Users/"myusername"/Desktop/BlenderPylibpdTest/pylibpd.py", line 22, in swig_import_helper
_mod = imp.load_module('_pylibpd', fp, pathname, description)
File "/Applications/Blender/blender.app/Contents/MacOS/2.70/python/lib/python3.3/imp.py", line 188, in load_module
return load_dynamic(name, filename, file)
ImportError: dlopen(/Users/"myusername"/Desktop/BlenderPylibpdTest/_pylibpd.so, 2): Symbol not found: _PyInstance_Type
Referenced from: /Users/"myusername"/Desktop/BlenderPylibpdTest/_pylibpd.so
Expected in: flat namespace
in /Users/"myusername"/Desktop/BlenderPylibpdTest/_pylibpd.so