Code Monkey home page Code Monkey logo

Comments (3)

kdarras avatar kdarras commented on July 26, 2024 1

Finally got it to work by following up on the last error with the advice found here:
sudo apt-get update sudo apt-get install --reinstall libgtk-3-common

from birdnet-analyzer.

Josef-Haupt avatar Josef-Haupt commented on July 26, 2024

This seems to be an issue with the gtk installation on your machine. The current gui is based on the pywebview package, which uses a different library based on your OS and installed libraries, this can lead to a variety of problems.

Since we are going to switch to Gradio in the near future, I will close this issue.

from birdnet-analyzer.

kdarras avatar kdarras commented on July 26, 2024

I have the same problem, even with gradio now.

I followed the instructions for the Ubuntu setup to install all dependencies and clone the repo inside a new python 3.10 virtual environment.
After pip-installing pywebaudio and gradio, I tried launching the GUI and got:
webview.util.WebViewException: You must have either QT or GTK with Python extensions installed in order to use pywebview

I solved it by running pip install qtpy pyside2
However, now, after trying to launch the GUI, a blank GUI shows up and I get:
ModuleNotFoundError: No module named 'gi' Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

So I followed this and tried:
pip install vext pip install vext.gi
Which got me an error:
ERROR: Could not build wheels for vext.gi, which is required to install pyproject.toml-based projects

Then I tried:
sudo apt install pkg-config libcairo2-dev gcc python3-dev libgirepository1.0-dev pip install PyGObject
But it produces this now when launching the GUI:
(gui.py:20272): GLib-GIO-ERROR **: 21:52:27.028: Settings schema 'org.appmenu.gtk-module' is not installed Trace/breakpoint trap (core dumped)

from birdnet-analyzer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.