
Traceback (most recent call last):


 "/usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 64, in prepare_metadata_for_build_wheel

hook = backend.prepare_metadata_for_build_wheel

AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

Traceback (most recent call last):


 "/usr/bin/qtile", line 33, in <module>

sys.exit(load_entry_point('qtile==0.16.1', 'console_scripts', 'qtile')())


 "/usr/bin/qtile", line 25, in importlib_load_entry_point

return next(matches).load()


 "/usr/lib/python3.9/importlib/metadata.py", line 77, in load

module = import_module(match.group('module'))


 "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 1030, in _gcd_import


 "<frozen importlib._bootstrap>", line 1007, in _find_and_load


 "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 680, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 790, in exec_module


 "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed


 "/usr/lib/python3.9/site-packages/libqtile/scripts/qtile.py", line 41, in <module>

except (pkg_resources.DistributionNotFound, ImportError):
AttributeError: module 'pkg_resources' has no attribute 'DistributionNotFound'
