我安装了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发布于 2017-09-11 02:29:30
这不能使用setup.py安装,而是可以使用./配置来编译
发布于 2017-09-08 01:45:49
我唯一能想到的就是升级setuptools,当您处理这种错误时,它可能会有所帮助。
https://stackoverflow.com/questions/46107333
复制相似问题