我試圖安裝python藍牙模塊'lightblue'.I,它使用macports.In插入它導致了一堆錯誤。python藍牙模塊lightblue在mac osx上無法正常工作10.8
>> import lightblue
2012-12-21 07:04:13.874 Python[4062:f07] PyObjCPointer created: at 0x7fff788af900 of type {__CFBoolean=}
2012-12-21 07:04:13.875 Python[4062:f07] PyObjCPointer created: at 0x7fff788af8f0 of type {__CFBoolean=}
2012-12-21 07:04:13.876 Python[4062:f07] PyObjCPointer created: at 0x7fff788af910 of type {__CFNumber=}
2012-12-21 07:04:13.876 Python[4062:f07] PyObjCPointer created: at 0x7fff788af928 of type {__CFNumber=}
2012-12-21 07:04:13.876 Python[4062:f07] PyObjCPointer created: at 0x7fff788af940 of type {__CFNumber=}
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lightblue/__init__.py", line 160, in <module>
from _lightblue import *
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lightblue/_lightblue.py", line 28, in <module>
import _LightAquaBlue
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lightblue/_LightAquaBlue.py", line 32, in <module>
_FRAMEWORK_PATH)
ImportError: Cannot load LightAquaBlue framework, not found at/opt/local/Library/Frameworks/LightAquaBlue.framework
請幫我安裝此module.I沒有找到許多其它藍牙編程modules.pybluez沒有Mac版本
你是如何安裝'lightblue'軟件包的? – inspectorG4dget
這已被問及,並回答 - 請參閱:http://stackoverflow.com/questions/11284694/how-to-install-lightblue-bluetooth-module-on-snow-leopard。 LightBlue於2009年停止使用,並且沒有專門針對Lion或Mountain Lion的更新。 –
@PeterSobot意識到任何其他藍牙模塊? – tez