Issue building python-dus wheel
Closed this issue · 1 comments
Describe the bug
Tox failed to install dependencies
Building wheels for collected packages: dbus-python
Building wheel for dbus-python (setup.py): started
Building wheel for dbus-python (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
[...]
ERROR: test: could not install deps[...]
then
checking for dbus-1 >= 1.8... no
configure: error: Package requirements (dbus-1 >= 1.8) were not met:
No package 'dbus-1' found
To Reproduce
- run
tox
Operating system
Linux Mint 20
Solution
The following fixed the issue for me.
Perhaps there's a better solution that can be worked into the build process and installs these Libs if they don't exist
sudo apt install python3-dev
apt install libdbus-1-dev libdbus-glib-1-dev
Whoops.. just found this
https://github.com/openstenoproject/plover/tree/master/linux
To be able to setup a complete development environment, you'll need to manually install some system libraries (including the development version of your distribution corresponding packages):
hidapi package (Treal support) needs libusb (1.0) and libudev.
dbus-python package (log / notifications support) needs libdbus.
For the rest of the steps, follow the developer guide.