python蓝牙模块_Python蓝牙模块lightblue在mac osx 10.8上不起作用
我試圖安裝python藍牙模塊'lightblue'。我使用macports進行安裝。當我導入模塊時,會導致一堆錯誤。
>> 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 "", line 1, in
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lightblue/__init__.py", line 160, in
from _lightblue import *
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lightblue/_lightblue.py", line 28, in
import _LightAquaBlue
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lightblue/_LightAquaBlue.py", line 32, in
_FRAMEWORK_PATH)
ImportError: Cannot load LightAquaBlue framework, not found at/opt/local/Library/Frameworks/LightAquaBlue.framework請幫我出來安裝這個module.I沒有找到很多其他的藍牙編程modules.pybluez沒有一個mac版本
總結
以上是生活随笔為你收集整理的python蓝牙模块_Python蓝牙模块lightblue在mac osx 10.8上不起作用的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 「职业解读」软件测试工程师
- 下一篇: Kotlin——初级篇(二):变量、常量