Skip to content

Missing girepository-2.0 Dependency during pywebview[gtk] Installation #26

@hktari

Description

@hktari

hen attempting to install pywebview[gtk], the installation fails due to a missing girepository-2.0 dependency. This is part of the GObject Introspection libraries, which are needed for PyGObject.

Error Message:

Run-time dependency girepository-2.0 found: NO (tried pkgconfig and cmake)
Not looking for a fallback subproject for the dependency girepository-2.0 because:
Use of fallback dependencies is disabled.

../meson.build:31:9: ERROR: Dependency 'girepository-2.0' is required but not found.

Steps to Reproduce:

Create a virtual environment.
Attempt to install pywebview[gtk].
Observe the error message indicating the missing dependency.
Suggested Solution: Install the gir1.2-glib-2.0 package to resolve the dependency issue.

Environment Details:

OS: Ubuntu 24.04
Python Version: 3.12
pywebview Version: 5.4

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions