e2b-dev / e2b-dev/open-computer-use

Missing girepository-2.0 Dependency during pywebview[gtk] Installation

Open
#26 2 comments 0 reactions 1 assignee View on GitHub

@mishushakov is already working on this.

Since May 16, 2025.

Dominant language
Python
Stars
2.3k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.