2017-09-08 13 views
0

dbus-python-1.2.4がインストールされたPython2.7.12がインストールされましたが、インストールは成功しましたがまだ使用できない理由は何ですか?ImportError:dbusという名前のモジュールがありません

Processing dependencies for dbus-python==1.2.4 
Finished processing dependencies for dbus-python==1.2.4 

使用方法:

[email protected]:/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 

答えて

0

これはsetup.pyインストールを使用することはできませんが、私は適切なのどのバージョンアップをお願いしたいと思い

0

私は考えることができる唯一の事はsetuptoolsのをアップグレードすることで、あなたがこの種のエラーに対処するとき、それが役立つことがあります。

+0

をコンパイルするためには./configureを使用して、私は今、setuptoolsのは7.0 – Donnie

+0

である私は、何の効果も試したん – Donnie

関連する問題