alexdelorenzo / cast_control

📺 Control Chromecasts from Linux and D-Bus

Home Page:https://alexdelorenzo.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Requirements missing and not mentioned

DodoLeDev opened this issue · comments

When installing cast_control with pip(x), I faced a fatal error:

Package gobject-introspection-1.0 was not found in the pkg-config search path.
Package 'gobject-introspection-1.0', required by 'virtual:world', not found

Considering this, I decided to install the package gobject-introspection, then try reinstalling cast_control, result: it worked!

However, in your README, you only mentioned to install the python-gobject package, which only has gobject-introspection-runtime and python as dependencies, so gobject-introspection remains missing!

Could you please update your README document to help new users to face this error?

I am under Arch Linux, if you want to know...

Hi @DodoLeDev, thanks for pointing this out. I'll make a note of it in the README.

Does installing Cast Control like this:

$ python3 -m pip install --upgrade cast_control

Or:

$ git clone https://github.com/alexdelorenzo/cast_control.git
$ cd cast_control
$ python3 -m pip install .

Work for you without first having to install gobject-introspection?

I ask because I'm unable to reproduce this error via those methods.

I am under Arch Linux, if you want to know...

@yochananmarqos was kind enough to package Cast Control for the AUR here: https://aur.archlinux.org/packages/cast_control/

You can use your preferred AUR installer to install Cast Control and keep it up to date. The package manager will handle any of the dependencies needed.

I added gobject-introspection to the README for Arch users. I'm going to close this issue for now, but if you have any further input concerning my comments above, please feel free to share it :)