Issues with dbus


#1

Please see this - https://stackoverflow.com/questions/53380099/how-to-solve-the-dbus-import-error-in-travis-ci


Dbus-python Dependency (any version) does not work
#2

As per https://docs.travis-ci.com/user/languages/python/#travis-ci-uses-isolated-virtualenvs, Python builds run in a virtualenv, and dbus is a 3rd-party module. You need to pip install it.


#3

https://travis-ci.org/aadibajpai/SwagLyrics-For-Spotify/jobs/457609622

^^ see this

I’m getting

Command "/home/travis/virtualenv/python3.4_with_system_site_packages/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-zc5mnegl/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-gkdb9r6p-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/travis/virtualenv/python3.4_with_system_site_packages/include/site/python3.4/dbus-python" failed with error code 1 in /tmp/pip-build-zc5mnegl/dbus-python/

The command "pip install dbus-python" failed and exited with 1 during .

Dbus-python Dependency (any version) does not work
#5

Requested 'dbus-1 >= 1.8' but version of dbus is 1.6.18

Xenial reports to have dbus 1.10
(Trusty seems to only has 1.6 available so you probably won’t be able to apt-get anything newer, either).

So you need to migrate to dist: xenial. Or use an older version of dbus-python.

Also the link I gave earlier says that you shouldn’t run with system site packages.


Dbus-python Dependency (any version) does not work