ImportError: No module named dbus
ImportError: No module named dbus
我安装了Python2.7.12,安装了dbus-python-1.2.4,提示安装成功,但是还是不能用,为什么?
Processing dependencies for dbus-python==1.2.4
Finished processing dependencies for dbus-python==1.2.4
使用过程:
root@SKYPHY:/usr/lib/python2.7/site-packages# python
Python 2.7.12 (default, Sep 7 2017, 15:21:53)
[GCC 4.8.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbus
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named dbus
我唯一能想到的就是升级setuptools,对你处理这种错误可能会有帮助。
这个不能用setup.py安装,要用./configure来编译
我安装了Python2.7.12,安装了dbus-python-1.2.4,提示安装成功,但是还是不能用,为什么?
Processing dependencies for dbus-python==1.2.4
Finished processing dependencies for dbus-python==1.2.4
使用过程:
root@SKYPHY:/usr/lib/python2.7/site-packages# python
Python 2.7.12 (default, Sep 7 2017, 15:21:53)
[GCC 4.8.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbus
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named dbus
我唯一能想到的就是升级setuptools,对你处理这种错误可能会有帮助。
这个不能用setup.py安装,要用./configure来编译