ImportError: No module named dbus

Asked by pengyu.ut@gmail.com

I installed backintime on 14.04 LTS with the following command.

sudo apt-add-repository ppa:bit-team/stable
sudo apt-fast -y update
sudo apt-fast -y install backintime-common

However, when I run backintime, I get the following error. Does anyone know what is wrong with it? Thanks.

py@saiph:~$ backintime
Traceback (most recent call last):
  File "/usr/share/backintime/common/backintime.py", line 26, in <module>
    import config
  File "/usr/share/backintime/common/config.py", line 30, in <module>
    import tools
  File "/usr/share/backintime/common/tools.py", line 27, in <module>
    import dbus
ImportError: No module named dbus

Question information

Language:
English Edit question
Status:
Answered
For:
Back In Time Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Germar (germar) said :
#1

You need to install 'python-dbus'.

Regards,
Germar

Revision history for this message
pengyu.ut@gmail.com (pengyu-ut) said :
#2

On Wed, Jun 18, 2014 at 3:17 PM, Germar
<email address hidden> wrote:
> Your question #250426 on Back In Time changed:
> https://answers.launchpad.net/backintime/+question/250426
>
> Status: Open => Answered
>
> Germar proposed the following answer:
> You need to install 'python-dbus'.

I have a different python installed. Should I use pip instead of
apt-get to install python-dbus?

~$ which python
/usr/local/bin/python
~$ which pip
/usr/local/bin/pip

Revision history for this message
Germar (germar) said :
#3

Sorry, I've never used pip nor installed python from source. But I guess it'd be the correct way to use pip if you have installed python from source.

Can you help with this problem?

Provide an answer of your own, or ask pengyu.ut@gmail.com for more information if necessary.

To post a message you must log in.