Comments (3)
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.
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.
Okay, thanks for the tip @jcemerson 👌🏼
from protonvpn-cli-gui.
Related Issues (6)
- ImportError: cannot import name 'country_codes' from 'protonvpn_cli' HOT 2
- Hover Behvaior - Cursor/Widgets Interact When Underneath Another Widget
- DNS Management - App Crashes on Launch when 'Enable Leak Protection' is not Selected.
- Improve Error Handling when ProtonVPN-CLI Returns a Non-Zero Exit Code
- Option to Connect to Fastest Plus Server
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protonvpn-cli-gui.