谁能告诉我在Windows732位上哪个库是最好的dbus python?我使用的是Python 2.7。
我下载了dbus-python的最新压缩并使用了它,但是它给出了许多导入错误,比如不能导入dbus.exceptions和没有名为_dbus_bindings的模块。
提前谢谢。
发布于 2014-05-09 06:59:54
我从https://dl.dropbox.com/u/19049582/dbus.zip下载的zip压缩文件对我有效(最初链接自文章http://poquitopicante.blogspot.it/2012/07/building-dbus-python-on-windows-with.html)
1)创建一个名为"C:\dbus“的文件夹,并将文件夹"bin”和"etc“复制到其中
2)将"C:\dbus\bin“添加到环境变量"Path”
3)将"C:\Python27\Lib“中的"lib\dbus-1.0”、"lib\pkgconfig“和”Lib\site-package“三个文件夹复制(合并)
就这样。
https://stackoverflow.com/questions/16056501
复制相似问题