Unable to find any valuable Window provider
See original GitHub issueVersions
- Python: 3.7.0
- OS: Windows 10
- Kivy: 1.10.1
- Kivy installation method: I followed the exact steps found here https://kivy.org/doc/stable/installation/deps-cython.html (doing pip install -U --force-reinstall Cython==0.27.3) and here https://kivy.org/doc/stable/installation/installation-windows.html (doing: python -m pip install --upgrade pip wheel setuptools python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew python -m pip install kivy.deps.gstreamer python -m pip install kivy.deps.angle python -m pip install kivy )
Description
Trying to install Kivy
Code and Logs
[INFO ] Logger: Record log in C:\Users\CASTILLO\.kivy\logs\kivy_18-12-10_124.txt
[INFO ] Kivy: v1.10.1
[INFO ] Python: v3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)]
[INFO ] Factory: 194 symbols loaded
[INFO ] Image: Providers: img_tex, img_dds, img_gif (img_sdl2, img_pil, img_ffpyplayer ignored)
[INFO ] Text: Provider: sdl2
[CRITICAL] Window: Unable to find any valuable Window provider.
sdl2 - ImportError: DLL load failed: The specified procedure could not be found.
File "C:\Users\CASTILLO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
fromlist=[modulename], level=0)
File "C:\Users\CASTILLO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kivy\core\window\window_sdl2.py", line 26, in <module>
from kivy.core.window._window_sdl2 import _WindowSDL2Storage
[CRITICAL] App: Unable to get a Window, abort.
import kivy
kivy.require('1.10.1')
from kivy.app import App
from kivy.uix.label import Label
class MyApp(App):
def build(self):
return Label(text='Hello world')
if __name__ == '__main__':
MyApp().run()
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Kivy not working (Error: Unable to find any valuable Window ...
I have been getting this error: Unable to find any valuable Window provider. With kivy heres the "full" error:
Read more >Kivy: "Unable to find any valuable Window provider" [SOLVED]
I have installed Kivy. I followed the instructions for Python3 "Using software packages (PPA etc.)" here:.
Read more >[CRITICAL] [Window ] Unable to find any valuable ... - GitHub
Versions Python: 3.7.0 OS: Windows 10 64bit build 17763 Kivy: 1.10.1 Kivy installation method: pip install kivy --user Description I run ...
Read more >Kivy Runtime Error Unable to find any valuable window provider
For the Last 24 hrs, I'm trying to run a simple kivy app. It's not running. It shows Unable to find any valuable...
Read more >[CRITICAL] [Window ] Unable to find any valuable ... - Reddit
[CRITICAL] [Window ] Unable to find any valuable Window provider. I have na Error while starting project with kivy.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I got the same issue on windows 10 but I was able to solve it.
Versions
Python : 3.7.1 OS: Windows 10 Kivy: 1.10.1
Fix
I found that the problem are the dependencies used by Kivy, so I use pip tools to get a good set of dependencies.
Install pip-tools
pip-tools is a great tool to get your pacakges on place you could get more information here
Generate requirements.in
From the kivy page I got the main libraries that I need and based on that I created my requirments.in
Compile requirements.in
Install depdencies
In this point you could use different commands but just to continue with pip-tools I use pip-sync:
Please use the requirments.txt to install the dependencies.
I hope this help you a little bit.
I had the same problem. I solved it by first uninstalling Kivy and its dependencies :
python -m pip uninstall kivy python -m pip uninstall kivy.deps.sdl2 python -m pip uninstall kivy.deps.glew python -m pip uninstall kivy.deps.gstreamer
Now reinstalling everything except gstreamer.
python -m pip install --upgrade pip wheel setuptools python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew --extra-index-url https://kivy.org/downloads/packages/simple/
the https://kivy.org/......etc is the end of the previous python -m pip install docutils…etc… then install kivy again
python -m pip install kivy
It should work, it worked for me !!!