ImportError:无法加载LightAquaBlue框架

时间:2019-04-30 07:47:02

标签: python macos python-2.7 bluetooth

我安装了Lightblue API,但是当我尝试导入蓝牙模块时出现此错误:

>>> import bluetooth
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/ettore/Library/Python/2.7/lib/python/site-packages/bluetooth/__init__.py", line 47, in <module>
    from .osx import *
  File "/Users/ettore/Library/Python/2.7/lib/python/site-packages/bluetooth/osx.py", line 1, in <module>
    import lightblue
  File "/Users/ettore/Library/Python/2.7/lib/python/site-packages/lightblue/__init__.py", line 160, in <module>
    from ._lightblue import *
  File "/Users/ettore/Library/Python/2.7/lib/python/site-packages/lightblue/_lightblue.py", line 29, in<module>
    from . import _LightAquaBlue
  File "/Users/ettore/Library/Python/2.7/lib/python/site-packages/lightblue/_LightAquaBlue.py", line 33, in <module>
    _FRAMEWORK_PATH)
ImportError: Cannot load LightAquaBlue framework, not found at /Users/ettore/Library/Python/2.7/lib/python/site-packages/lightblue/LightAquaBlue.framework

我正在使用macOS 10.14.4

0 个答案:

没有答案