【问题标题】:PyBluez ImportError: DLL load failed: %1 is not a valid Win32 applicationPyBluez ImportError:DLL 加载失败:%1 不是有效的 Win32 应用程序
【发布时间】:2016-02-01 07:05:16
【问题描述】:

每当我尝试导入蓝牙模块时,我都会收到此错误

Traceback (most recent call last):
File "C:/Users/super/PycharmProjects/untitled1/Sql.py", line 1, in   <module>
import bluetooth
File "C:\Python27\lib\site-packages\bluetooth\__init__.py", line 37, in <module>
from .msbt import *
File "C:\Python27\lib\site-packages\bluetooth\msbt.py", line 2, in <module>
import bluetooth._msbt as bt
ImportError: DLL load failed: %1 is not a valid Win32 application.

有人知道我该如何解决这个问题

【问题讨论】:

  • 嘿,你解决了吗?我有同样的错误!

标签: python bluetooth importerror pybluez


【解决方案1】:

尝试从this site 下载并安装 64 位“PyBluez-0.22-cp34-none-win_amd64.whl”

安装: pip install \complete_path\PyBluez-0.22-cp34-none-win_amd64.whl

这对我有用。

【讨论】:

    猜你喜欢
    • 2013-11-09
    • 2014-01-28
    • 2020-08-22
    • 2013-09-24
    • 2014-12-25
    • 2015-09-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多