No module named gobject

I just installed Deluge on Archlinux but the GUI kept failing to come up with  “No module named gobject”.

This happens because installing just the deluge package does not meet all the dependencies required to run the GUI. Install “python-gobject2” and “pygtk” packages to satisfy the dependencies and Deluge will run fine.

$pacman -Sy python-gobject2 pygtk