Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I try to install qtile from the source, you can see also this link:

Install libxcb from source

When I try to launch qtile I have this error, I do not understand why:

Traceback (most recent call last):
  File "/usr/local/bin/qtile", line 5, in <module>
    pkg_resources.run_script('qtile==0.6', 'qtile')
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/local/lib/python2.7/dist-packages/qtile-0.6-py2.7.egg/EGG-INFO/scripts/qtile", line 26, in <module>
    from libqtile import confreader, manager
  File "/usr/local/lib/python2.7/dist-packages/qtile-0.6-py2.7.egg/libqtile/confreader.py", line 29, in <module>
    import utils
  File "/usr/local/lib/python2.7/dist-packages/qtile-0.6-py2.7.egg/libqtile/utils.py", line 26, in <module>
    import xcbq
  File "/usr/local/lib/python2.7/dist-packages/qtile-0.6-py2.7.egg/libqtile/xcbq.py", line 5, in <module>
    from xcb.xproto import CW, WindowClass, EventMask
ImportError: No module named xcb.xproto

I installed all the dependency and xpyb also.

share|improve this question
Does the workaround suggested in this Ubuntu bug report help? –  Joseph R. Dec 18 '13 at 11:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.