willprice / python-omxplayer-wrapper

:tv: Control OMXPlayer, the Raspberry Pi media player, from Python
http://python-omxplayer-wrapper.readthedocs.io
GNU Lesser General Public License v3.0
253 stars 71 forks source link

Cannot install in PI4 #198

Open t-walker-wei opened 4 years ago

t-walker-wei commented 4 years ago

Issue Report

Description

Cannot install in PI4. show error:

configure: error: Package requirements (dbus-1 >= 1.8) were not met:

No package 'dbus-1' found

Problem reproduction

pip install omxplayer-wrapper

Environment details

Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
Software Version
python-omxplayer-wrapper 0.3.2
python-dbus (dpkg -s python-dbus) 1.2.8-3
python (python --version) 2.7.16
omxplayer (exe) 6c90c75

matthijskooijman commented 4 years ago

Did you install libdbus-1 and libdubs-1-dev with apt as documented?

TheOneWhoseUsernameWasTaken commented 4 years ago

This is an older issue, but a just had a similar problem, so I wanted to mention it here.

On my Pi4 with Raspbian 10.4, I also had to install libglib2.0-dev (which in turn pulled a whole slew of other stuff). That wasn't documented (or well hidden).

    configure: error: Package requirements (glib-2.0 >= 2.40) were not met:
    No package 'glib-2.0' found

After installing libglib2.0-dev, the installation went through.

atoav commented 3 years ago

I think this can be closed now, I am testing on a fresh raspi now, if anything else pops up I will open a new issue/PR.