title: Can't install dbus-python on Ubuntu with Python3.8
body: <p>I want to install HP driver (hplip) on my Ubuntu.</p>
  
  <p>It tries to install d-bus python package, but fails and says to install it manually.</p>
  
  <p>Installation with "apt" works fine, but maybe not for my main Python version and that's why hplip failed:</p>
  
  <pre><code>sudo apt install -y dbus
  </code></pre>
  
  <p>... works well</p>
  
  <pre><code>timofei@timofei:~/Downloads$ python
  Python 3.8.0 (default, Oct 28 2019, 16:14:01) 
  [GCC 8.3.0] on linux
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import dbus
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/usr/lib/python3/dist-packages/dbus/__init__.py", line 77, in &lt;module&gt;
      import dbus.types as types
    File "/usr/lib/python3/dist-packages/dbus/types.py", line 6, in &lt;module&gt;
      from _dbus_bindings import (
  ModuleNotFoundError: No module named '_dbus_bindings'
  </code></pre>
  
  <p>So I tried this:</p>
  
  <pre><code>pip3 install dbus-python
  </code></pre>
  
  <p>But didn't succed:</p>
  
  <pre><code>    subprocess.CalledProcessError: Command '['/tmp/pip-install-d0ae2vew/dbus-python/configure', '--disable-maintainer-mode', 'PYTHON=/usr/bin/python3', '--prefix=/tmp/pip-install-d0ae2vew/dbus-python/build/temp.linux-x86_64-3.8/prefix']' returned non-zero exit status 1.
      ----------------------------------------
  ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-d0ae2vew/dbus-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-d0ae2vew/dbus-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ivj6cz_0/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/timofei/.local/include/python3.8/dbus-python Check the logs for full command output.
  </code></pre>
  
  <p>I have tried</p>
  
  <pre><code>pip3 install --upgrade setuptools
  </code></pre>
  
  <p>, it works fine.</p>
  
  <p>What can I do?</p>