Kivy not working (Error: Unable to find any valuable Window provider.)

I had the same problem. I tried many suggested solutions in vain. It only worked when I uninstalled and reinstalled kivy.

To uninstall:

    $ pip uninstall kivy

To install:

    $ python -m pip install kivy==2.0.0rc1

You're probably missing some dependencies. From the docs:

Install the dependencies (skip gstreamer (~120MB) if not needed, see Kivy’s dependencies):

python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew;

python -m pip install kivy.deps.gstreamer

To install these dependencies, open up a terminal (can be a console, Pycharm Terminal window, etc.), run the first command and then the second command.


Even i have faced same problem.

Now it is working with conda install

conda config --add channels conda-forge
conda install kivy

The solution above did not work for me. Here is what I had to do to solve the problem on my Windows 10 pc with Anaconda Python 3.6 installed:

  • open an Anaconda prompt window as administrator
  • pip uninstall kivy
  • pip install kivy
  • pip install docutils pygments pypiwin32 kivy.deps.sdl2
  • pip install kivy.deps.glew

Tags:

Python

Kivy