Giter Site home page Giter Site logo

Comments (3)

jcemerson avatar jcemerson commented on June 4, 2024 1

Well, it's not exactly a true dependency because I don't even have pygame.

What is a dependency for Kivy is some sort of supported Window provider, of which pygame is one (Pygame is a Python wrapper module for the SDL multimedia library). There's also glew (the default), angle, or sdl2.

Ultimately, which Window provider you require is dependent on various factors determined by your system, so I'm hesitant to require any one single solution. I'm not familiar with Pop!_OS, though I'm going to learn about it now, but it would seem that you didn't already have one of these dependencies.

This is one of the most common issues reported about using Kivy, but it's fairly easy to resolve once you know what the issue is. Several posts can be found on the subject:

Kivy - windows - Unable to find any valuable Window provider at all

"ImportError: cannot import name bcm" error with running basic kivy app in ubuntu 15.04
#4085

Unable to find any valuable Window provider at all! (with kivy-daily build)
#3002

That said, perhaps the documentation (which isn't even complete yet as I'm still developing the app), could clarify this dependency concern and point people towards these resources and help them find the answer.

And you're welcome! Thanks for giving it a try and reporting your concern. I appreciate the feedback.

from protonvpn-cli-gui.

jcemerson avatar jcemerson commented on June 4, 2024

I noticed that PyGame was deprecated in Kivy 1.11.1. I updated the README.md with a command to install the necessary dependencies for supporting SDL2. If you should find issues with Kivy/PyGame in the future, consider swapping out PyGame for these other dependencies.

From Kivy 1.11.1 Release Notes:

Deprecated

[#6313]: Pygame has been deprecated. We urge users who have been using pygame to try SDL2 and our other providers. If there are any reasons why Pygame is used instead of SDL2 please let us know so we can fix them.

from protonvpn-cli-gui.

nitrohorse avatar nitrohorse commented on June 4, 2024

Okay, thanks for the tip @jcemerson 👌🏼

from protonvpn-cli-gui.

Related Issues (6)

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.