Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kivy not working after installation #4115

Closed
sarmamen opened this issue Mar 24, 2016 · 24 comments
Closed

Kivy not working after installation #4115

sarmamen opened this issue Mar 24, 2016 · 24 comments

Comments

@sarmamen
Copy link

I was installing kivy for the first time:
python -m pip install --upgrade pip wheel setuptools

python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew \ kivy.deps.gstreamer --extra-index-url https://kivy.org/downloads/packages/simple/

python -m pip install kivy

but after i run:

from kivy.app import App
from kivy.uix.button import Button

class TestApp(App):
    def build(self):
        return Button(text='Hello World')

TestApp().run()

i would get

C:\Python27\python.exe "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 5.0.4\helpers\pycharm\utrunner.py" "C:\- Python_projekti\python_GUI_testiranje\testiranje.py" true
Testing started at 19:33 ...
[INFO              ] [Logger      ] Record log in C:\Users\Kyte\.kivy\logs\kivy_16-03-24_4.txt
[INFO              ] [Kivy        ] v1.9.1
[INFO              ] [Python      ] v2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)]
[INFO              ] [Factory     ] 179 symbols loaded
[INFO              ] [Image       ] Providers: img_tex, img_dds, img_gif, img_sdl2 (img_pil, img_ffpyplayer ignored)
[INFO              ] [Text        ] Provider: sdl2
[INFO              ] [OSC         ] using <thread> for socket
[INFO              ] [Window      ] Provider: sdl2
[INFO              ] [GL          ] GLEW initialization succeeded
[INFO              ] [GL          ] OpenGL version <4.5.13399 Compatibility Profile Context 15.201.1151.1008>
[INFO              ] [GL          ] OpenGL vendor <ATI Technologies Inc.>
[INFO              ] [GL          ] OpenGL renderer <AMD Radeon R7 200 Series>
[INFO              ] [GL          ] OpenGL parsed version: 4, 5
[INFO              ] [GL          ] Shading version <4.40>
[INFO              ] [GL          ] Texture max size <16384>
[INFO              ] [GL          ] Texture max units <32>
[WARNING           ] [Image       ] Unable to load image <C:\Python27\lib\site-packages\kivy\data\glsl\default.png>
[CRITICAL          ] [Window      ] Unable to find any valuable Window provider at all!
sdl2 - Exception: SDL2: Unable to load image
  File "C:\Python27\lib\site-packages\kivy\core\__init__.py", line 67, in core_select_lib
    cls = cls()
  File "C:\Python27\lib\site-packages\kivy\core\window\window_sdl2.py", line 138, in __init__
    super(WindowSDL, self).__init__()
  File "C:\Python27\lib\site-packages\kivy\core\window\__init__.py", line 722, in __init__
    self.create_window()
  File "C:\Python27\lib\site-packages\kivy\core\window\window_sdl2.py", line 255, in create_window
    super(WindowSDL, self).create_window()
  File "C:\Python27\lib\site-packages\kivy\core\window\__init__.py", line 897, in create_window
    self.render_context = RenderContext()
  File "kivy\graphics\instructions.pyx", line 756, in kivy.graphics.instructions.RenderContext.__init__ (kivy\graphics\instructions.c:10729)
  File "C:\Python27\lib\site-packages\kivy\core\image\__init__.py", line 512, in __init__
    self.filename = arg
  File "C:\Python27\lib\site-packages\kivy\core\image\__init__.py", line 700, in _set_filename
    mipmap=self._mipmap, nocache=self._nocache)
  File "C:\Python27\lib\site-packages\kivy\core\image\__init__.py", line 430, in load
    im = loader(filename, **kwargs)
  File "C:\Python27\lib\site-packages\kivy\core\image\__init__.py", line 198, in __init__
    self._data = self.load(filename)
  File "C:\Python27\lib\site-packages\kivy\core\image\img_sdl2.py", line 42, in load
    raise Exception('SDL2: Unable to load image')

[CRITICAL          ] [App         ] Unable to get a Window, abort.
 Exception SystemExit: 1 in 'kivy.properties.dpi2px' ignored
[CRITICAL          ] [App         ] Unable to get a Window, abort.

Process finished with exit code 1

and i went to kivy IRC for help. two guys helped me out. i did:
python -m pip uninstall pillow
python -m pip install --use-wheel pillow

and after that i would run my app, but with some modification and it is working now

import os
os.environ['KIVY_IMAGE'] = 'pil,sdl2'
from kivy.app import App
from kivy.uix.button import Button

class TestApp(App):
    def build(self):
        return Button(text='Hello World')

TestApp().run()

One more time thank to quanon and kived from the IRC channel. They are the best :)

@matham
Copy link
Member

matham commented Mar 24, 2016

I'm not exactly sure the point of this issue. This is very a likely a problem specific to that user's computer because it doesn't happen otherwise.

@rnixx
Copy link
Member

rnixx commented Mar 25, 2016

It looks like you have a resource loading problem (whyever)

File "C:\Python27\lib\site-packages\kivy\core\image\__init__.py", line 198, in __init__
    self._data = self.load(filename)
File "C:\Python27\lib\site-packages\kivy\core\image\img_sdl2.py", line 42, in load
    raise Exception('SDL2: Unable to load image')

You might want to put pdb in kivy\core\image__init__.py", line 198 and have a look which filename fails to load.

@akshayaurora
Copy link
Member

@matham I am ok with closing this, least this can act as reminder if this issue comes up again for someone else.

Issue seems to be cause zlib is not being detected in path, however it is included in the wheels provided with kivy. Something in the user's env is preventing these libs to be picked up.

@abhigenie92
Copy link

Hey! I am facing the exactly same issue.

$ python __main__.py
Purge log fired. Analysing...
Purge 69 log files
Purge finished!
[INFO              ] [Logger      ] Record log in c:/Users/sony\.kivy\logs\kivy_16-04-15_34.txt
[INFO              ] [Kivy        ] v1.9.1
[INFO              ] [Python      ] v2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)]
[INFO              ] [Factory     ] 179 symbols loaded
[INFO              ] [Image       ] Providers: img_tex, img_dds, img_gif, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO              ] [Text        ] Provider: pil(['text_sdl2'] ignored)
[INFO              ] [OSC         ] using <thread> for socket
[INFO              ] [Window      ] Provider: sdl2
[INFO              ] [GL          ] GLEW initialization succeeded
[INFO              ] [GL          ] OpenGL version <4.0.0 - Build 10.18.10.4276>
[INFO              ] [GL          ] OpenGL vendor <Intel>
[INFO              ] [GL          ] OpenGL renderer <Intel(R) HD Graphics 4000>
[INFO              ] [GL          ] OpenGL parsed version: 4, 0
[INFO              ] [GL          ] Shading version <4.00 - Build 10.18.10.4276>
[INFO              ] [GL          ] Texture max size <16384>
[INFO              ] [GL          ] Texture max units <16>
[WARNING           ] [Image       ] Unable to load image <c:\Python27\lib\site-packages\kivy\data\glsl\default.png>
[CRITICAL          ] [Window      ] Unable to find any valuable Window provider at all!
sdl2 - Exception: SDL2: Unable to load image
  File "c:\Python27\lib\site-packages\kivy\core\__init__.py", line 67, in core_select_lib
    cls = cls()
  File "c:\Python27\lib\site-packages\kivy\core\window\window_sdl2.py", line 138, in __init__
    super(WindowSDL, self).__init__()
  File "c:\Python27\lib\site-packages\kivy\core\window\__init__.py", line 722, in __init__
    self.create_window()
  File "c:\Python27\lib\site-packages\kivy\core\window\window_sdl2.py", line 255, in create_window
    super(WindowSDL, self).create_window()
  File "c:\Python27\lib\site-packages\kivy\core\window\__init__.py", line 897, in create_window
    self.render_context = RenderContext()
  File "kivy\graphics\instructions.pyx", line 756, in kivy.graphics.instructions.RenderContext.__init__ (kivy\graphics\instructions.c:10729)
  File "c:\Python27\lib\site-packages\kivy\core\image\__init__.py", line 512, in __init__
    self.filename = arg
  File "c:\Python27\lib\site-packages\kivy\core\image\__init__.py", line 700, in _set_filename
    mipmap=self._mipmap, nocache=self._nocache)
  File "c:\Python27\lib\site-packages\kivy\core\image\__init__.py", line 430, in load
    im = loader(filename, **kwargs)
  File "c:\Python27\lib\site-packages\kivy\core\image\__init__.py", line 198, in __init__
    self._data = self.load(filename)
  File "c:\Python27\lib\site-packages\kivy\core\image\img_sdl2.py", line 42, in load
    raise Exception('SDL2: Unable to load image')

[CRITICAL          ] [App         ] Unable to get a Window, abort.

I tried:

python -m pip uninstall pillow
python -m pip install --use-wheel pillow

Still doesn't work.

@sarmamen
Copy link
Author

do the regular instalation. but when you will writte your program, append
the first two lines to your program. For example:

you need this two lines:

import os
os.environ['KIVY_IMAGE'] = 'pil,sdl2'

#kivy program
from kivy.app import App
from kivy.uix.button import Button

class TestApp(App):
def build(self):
return Button(text='Hello World')

TestApp().run()

On 15 April 2016 at 16:31, Abhishek Bhatia notifications@github.com wrote:

Hey! I am facing the exactly same issue.

$ python main.py
Purge log fired. Analysing...
Purge 69 log files
Purge finished!
[INFO ] [Logger ] Record log in c:/Users/sony.kivy\logs\kivy_16-04-15_34.txt
[INFO ] [Kivy ] v1.9.1
[INFO ] [Python ] v2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)]
[INFO ] [Factory ] 179 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_gif, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO ] [Text ] Provider: pil(['text_sdl2'] ignored)
[INFO ] [OSC ] using for socket
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] GLEW initialization succeeded
[INFO ] [GL ] OpenGL version <4.0.0 - Build 10.18.10.4276>
[INFO ] [GL ] OpenGL vendor
[INFO ] [GL ] OpenGL renderer <Intel(R) HD Graphics 4000>
[INFO ] [GL ] OpenGL parsed version: 4, 0
[INFO ] [GL ] Shading version <4.00 - Build 10.18.10.4276>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <16>
[WARNING ] [Image ] Unable to load image <c:\Python27\lib\site-packages\kivy\data\glsl\default.png>
[CRITICAL ] [Window ] Unable to find any valuable Window provider at all!
sdl2 - Exception: SDL2: Unable to load image
File "c:\Python27\lib\site-packages\kivy\core__init__.py", line 67, in core_select_lib
cls = cls()
File "c:\Python27\lib\site-packages\kivy\core\window\window_sdl2.py", line 138, in init
super(WindowSDL, self).init()
File "c:\Python27\lib\site-packages\kivy\core\window__init__.py", line 722, in init
self.create_window()
File "c:\Python27\lib\site-packages\kivy\core\window\window_sdl2.py", line 255, in create_window
super(WindowSDL, self).create_window()
File "c:\Python27\lib\site-packages\kivy\core\window__init__.py", line 897, in create_window
self.render_context = RenderContext()
File "kivy\graphics\instructions.pyx", line 756, in kivy.graphics.instructions.RenderContext.init (kivy\graphics\instructions.c:10729)
File "c:\Python27\lib\site-packages\kivy\core\image__init__.py", line 512, in init
self.filename = arg
File "c:\Python27\lib\site-packages\kivy\core\image__init__.py", line 700, in set_filename
mipmap=self.mipmap, nocache=self.nocache)
File "c:\Python27\lib\site-packages\kivy\core\image__init
.py", line 430, in load
im = loader(filename, **kwargs)
File "c:\Python27\lib\site-packages\kivy\core\image__init
_.py", line 198, in init
self._data = self.load(filename)
File "c:\Python27\lib\site-packages\kivy\core\image\img_sdl2.py", line 42, in load
raise Exception('SDL2: Unable to load image')

[CRITICAL ] [App ] Unable to get a Window, abort.

I tried:

python -m pip uninstall pillow
python -m pip install --use-wheel pillow

Still doesn't work.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#4115 (comment)

@abhigenie92
Copy link

abhigenie92 commented Apr 15, 2016

@sarmamen Thanks for the reply! After doing that it works but I have the following issue:

$ python __main__.py
[INFO              ] [Logger      ] Record log in c:/Users/sony\.kivy\logs\kivy_16-04-15_40.txt
[INFO              ] [Kivy        ] v1.9.1
[INFO              ] [Python      ] v2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)]
[INFO              ] [Factory     ] 179 symbols loaded
[INFO              ] [Image       ] Providers: img_pil, img_sdl2 (img_tex, img_dds, img_ffpyplayer, img_gif ignored)
[INFO              ] [Text        ] Provider: pil(['text_sdl2'] ignored)
[INFO              ] [OSC         ] using <thread> for socket
[INFO              ] [Window      ] Provider: sdl2
[INFO              ] [GL          ] GLEW initialization succeeded
[INFO              ] [GL          ] OpenGL version <4.0.0 - Build 10.18.10.4276>
[INFO              ] [GL          ] OpenGL vendor <Intel>
[INFO              ] [GL          ] OpenGL renderer <Intel(R) HD Graphics 4000>
[INFO              ] [GL          ] OpenGL parsed version: 4, 0
[INFO              ] [GL          ] Shading version <4.00 - Build 10.18.10.4276>
[INFO              ] [GL          ] Texture max size <16384>
[INFO              ] [GL          ] Texture max units <16>
[INFO              ] [Window      ] auto add sdl2 input provider
[INFO              ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO              ] [Base        ] Start application main loop
[INFO              ] [GL          ] NPOT texture support is available
[INFO              ] [Support     ] Starting twisted reactor
 Exception Exception: Exception('tostring() has been removed. Please call tobytes() instead.',) in 'kivy.graphics.instructions.RenderContext.set_texture' ignored
 Exception Exception: Exception('tostring() has been removed. Please call tobytes() instead.',) in 'kivy.graphics.instructions.RenderContext.set_texture' ignored
 Exception Exception: Exception('tostring() has been removed. Please call tobytes() instead.',) in 'kivy.graphics.instructions.RenderContext.set_texture' ignored
 Exception Exception: Exception('tostring() has been removed. Please call tobytes() instead.',) in 'kivy.graphics.instructions.RenderContext.set_texture' ignored
[INFO              ] [Base        ] Leaving application in progress...
[INFO              ] [Support     ] Shutting down twisted reactor

The buttons and labels are displayed incorrectly as shown in the image below.
capture

@kived
Copy link
Contributor

kived commented Apr 15, 2016

If you're getting this error, then you're not running the 1.9.1 release. Either you're on a pre-release dev version, or you have something wrong with your installation.

ff17850

@abhigenie92
Copy link

abhigenie92 commented Apr 15, 2016

@kived I am running the latest one.

Abhishek@ABHISHEK ~/Dropbox/notepad_app/2_Paint (master)
$ python -m pip install kivy --upgrade
Requirement already up-to-date: kivy in c:\python27\lib\site-packages
Requirement already up-to-date: Kivy-Garden>=0.1.4 in c:\python27\lib\site-packages (from kivy)
Collecting requests (from Kivy-Garden>=0.1.4->kivy)
  Using cached requests-2.9.1-py2.py3-none-any.whl
Installing collected packages: requests
  Found existing installation: requests 2.7.0
    Uninstalling requests-2.7.0:
      Successfully uninstalled requests-2.7.0
Successfully installed requests-2.9.1

Abhishek@ABHISHEK ~/Dropbox/notepad_app/2_Paint (master)
$ python -m pip freeze | grep kivy
kivy.deps.glew==0.1.4
kivy.deps.gstreamer==0.1.5
kivy.deps.sdl2==0.1.12```


What do you suggest is the way to go from here? 

@kived
Copy link
Contributor

kived commented Apr 15, 2016

Version 1.9.1 calls tobytes(), not tostring(). I double-checked the wheel on PyPI and it is correct. This likely circles back to the original problem, which is that something in your environment or system is incorrect.

@dessant
Copy link
Contributor

dessant commented Apr 15, 2016

@kived, this was fixed after 1.9.1 in the text provider: 83a9528.

@abhigenie92, you could try updating to the dev version, the docs have instructions.
Even if pillow will work, the text doesn't look too good with it, your end goal would be to find out why does the sdl2 text provider fail to load.

@abhigenie92
Copy link

@dessant thanks!
Are to you referring to https://kivy.org/docs/installation/installation-windows.html#installation

Abhishek@ABHISHEK ~/Dropbox/notepad_app/2_Paint (master)
$ python -m pip install --upgrade pip wheel setuptools
Requirement already up-to-date: pip in c:\python27\lib\site-packages
Requirement already up-to-date: wheel in c:\python27\lib\site-packages
Requirement already up-to-date: setuptools in c:\python27\lib\site-packages

Abhishek@ABHISHEK ~/Dropbox/notepad_app/2_Paint (master)
$ python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew kivy.deps.gstreamer --extra-index-url htt
ps://kivy.org/downloads/packages/simple/ --upgrade
Requirement already up-to-date: docutils in c:\python27\lib\site-packages
Requirement already up-to-date: pygments in c:\python27\lib\site-packages
Requirement already up-to-date: pypiwin32 in c:\python27\lib\site-packages
Requirement already up-to-date: kivy.deps.sdl2 in c:\python27\lib\site-packages
Requirement already up-to-date: kivy.deps.glew in c:\python27\lib\site-packages
Requirement already up-to-date: kivy.deps.gstreamer in c:\python27\lib\site-packages

Abhishek@ABHISHEK ~/Dropbox/notepad_app/2_Paint (master)
$ python -m pip install kivy --upgrade
Requirement already up-to-date: kivy in c:\python27\lib\site-packages
Requirement already up-to-date: Kivy-Garden>=0.1.4 in c:\python27\lib\site-packages (from kivy)
Requirement already up-to-date: requests in c:\python27\lib\site-packages (from Kivy-Garden>=0.1.4->kivy)

This still doesn't fix. What do you guys @kived @dessant suggest?

@dessant
Copy link
Contributor

dessant commented Apr 15, 2016

@dessant
Copy link
Contributor

dessant commented Apr 15, 2016

@matham, the last nightly wheel on drive seems to be from march 31.

@matham
Copy link
Member

matham commented Apr 15, 2016

It's an April fools joke?

@matham
Copy link
Member

matham commented Apr 15, 2016

The joke is that it is uploaded, but you cannot find it (in case you didn't get it ;) ). Just search for Kivy-1.9.2.dev0_14042016_git_af57cd3-cp34_14042016_git_af57cd3-cp34m-win_amd64.

@abhigenie92
Copy link

abhigenie92 commented Apr 15, 2016

Following https://kivy.org/docs/installation/installation-windows.html#nightly-wheel-installation.

Abhishek@ABHISHEK /C/Users/sony/python_packages (master)
$ python -m pip install "Kivy-1.9.2.dev0-cp27m-win32.whl"
Kivy-1.9.2.dev0-cp27m-win32.whl is not a valid wheel filename.

Pip works:

>>> import pip; print(pip.pep425tags.get_supported())
[('cp27', 'cp27m', 'win32'), ('cp27', 'none', 'win32'), ('py2', 'none', 'win32'), ('cp27', 'none', 'any'), ('cp2', 'none', 'any'), ('py27', 'none', 'any'), ('py2', 'none', 'any'), ('py26', 'none', 'any'), ('py25', 'none', 'any'), ('py24', 'none', 'any'), ('py23', 'none', 'any'), ('py22', 'none', 'any'), ('py21', 'none', 'any'), ('py20', 'none', 'any')]
>>>

Versions details:

$ python
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.

Not renaming:

$ python -m pip install Kivy-1.9.2.dev0_31032016_git_7e9cdc5-cp27_31032016_git_7e9cdc5-cp27m-win32.whl
Kivy-1.9.2.dev0_31032016_git_7e9cdc5-cp27_31032016_git_7e9cdc5-cp27m-win32.whl is not a supported wheel on this platform.

@dessant
Copy link
Contributor

dessant commented Apr 16, 2016

@matham, i was not able to sort the list in any way, and the end of it seemed like it is in chronological order (or not). 😋
We could link to the latest build somehow from the docs instead, while still mentioning the scary folder:
https://drive.google.com/folderview?id=0B1_HB9J8mZepOV81UHpDbmg5SWM&usp=sharing#grid

@KeyWeeUsr
Copy link
Contributor

KeyWeeUsr commented Apr 16, 2016

@dessant You can use simple regex "(Kivy-\d\.\d\.\d)(\.\w{4}_ddmmyyyy_git\_?\w{7}-cp34 or cp27)(-none|_\d{8}_git_\w{7}-cp34m or cp27m)(-win_amd64 or win32.whl)" at drive list view, where ddmmyyyy is the date of "yesterday" to get each group of the wheel name and pass to user the correct name directly so that a user only downloads the nightly build with a correct name. I use this in KivyInstaller

Try it here for "Kivy-1.9.2.dev0_15042016_git_af57cd3-cp34_15042016_git_af57cd3-cp34m-win_amd64.whl"

To get it done either use standalone javascript outside of the docs(which would be easier to change when wheel name changes for whatever reason), or php/jQuery, or well.. directly in python, but I presume that'd require building docs everytime nightly wheel is built if you don't use python on your server.

@Buchx
Copy link

Buchx commented Dec 15, 2017

I am getting very same issue as OP.
First i tried the following standard - gave me this error:

Purge log fired. Analysing...
Purge 12 log files
[INFO ] [Logger ] Record log in C:\Users\Buch.kivy\logs\kivy_17-12-15_98.txt
Purge finished!
[INFO ] [Kivy ] v1.10.0
[INFO ] [Python ] v3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:14:34) [MSC v.1900 32 bit (Intel)]
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_gif (img_sdl2, img_pil, img_ffpyplayer ignored)
[CRITICAL] [Text ] Unable to find any valuable Text provider.
sdl2 - ImportError: DLL load failed: Det angivne modul blev ikke fundet.
File "C:\Users\Buch.virtualenvs\KEABAR\lib\site-packages\kivy\core_init_.py", line 59, in core_select_lib
fromlist=[modulename], level=0)
File "C:\Users\Buch.virtualenvs\KEABAR\lib\site-packages\kivy\core\text\text_sdl2.py", line 12, in
from kivy.core.text._text_sdl2 import (_SurfaceContainer, _get_extents,

pil - ModuleNotFoundError: No module named 'PIL'
File "C:\Users\Buch.virtualenvs\KEABAR\lib\site-packages\kivy\core_init_.py", line 59, in core_select_lib
fromlist=[modulename], level=0)
File "C:\Users\Buch.virtualenvs\KEABAR\lib\site-packages\kivy\core\text\text_pil.py", line 7, in
from PIL import Image, ImageFont, ImageDraw

[CRITICAL] [App ] Unable to get a Text provider, abort.

Tried adding: import os os.environ['KIVY_IMAGE'] = 'pil,sdl2'

Just gives mes this and now GUI :)
[INFO ] [Logger ] Record log in C:\Users\Buch\.kivy\logs\kivy_17-12-15_99.txt [INFO ] [Kivy ] v1.10.0 [INFO ] [Python ] v3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:14:34) [MSC v.1900 32 bit (Intel)] [INFO ] [Factory ] 194 symbols loaded [INFO ] [Image ] Providers: (img_tex, img_dds, img_ffpyplayer, img_gif, img_pil, img_sdl2 ignored) [CRITICAL] [App ] Unable to get any Image provider, abort.

Kind regards

@Jrius4
Copy link

Jrius4 commented Dec 23, 2017

Am also facing this problem please i will be grateful cause am new to kivy

C:\Users\Kaxibwe>python c:\python27\share\kivy-examples\demo\showcase\main.py
[INFO ] [Logger ] Record log in C:\Users\Kaxibwe.kivy\logs\kivy_17-12-23
_1.txt
[INFO ] [Kivy ] v1.10.1.dev0, git-0456eff, 20171125
[INFO ] [Python ] v2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MS
C v.1500 32 bit (Intel)]
Traceback (most recent call last):
File "c:\python27\share\kivy-examples\demo\showcase\main.py", line 29, in
from kivy.app import App
File "C:\Python27\kivy\app.py", line 319, in
from kivy.base import runTouchApp, stopTouchApp
File "C:\Python27\kivy\base.py", line 26, in
from kivy.clock import Clock
File "C:\Python27\kivy\clock.py", line 362, in
from kivy._clock import CyClockBase, ClockEvent, FreeClockEvent,
ImportError: DLL load failed: %1 is not a valid Win32 application.

@Jrius4
Copy link

Jrius4 commented Dec 23, 2017

am failing to debug this..

c:\Python27>python c:\python27\share\kivy-examples\camera\main.py
[INFO ] [Logger ] Record log in C:\Users\Kaxibwe.kivy\logs\kivy_17-12-2
_4.txt
[INFO ] [Kivy ] v1.10.1.dev0, git-0456eff, 20171125
[INFO ] [Python ] v2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [M
C v.1500 32 bit (Intel)]
Traceback (most recent call last):
File "c:\python27\share\kivy-examples\camera\main.py", line 17, in
from kivy.app import App
File "c:\Python27\kivy\app.py", line 319, in
from kivy.base import runTouchApp, stopTouchApp
File "c:\Python27\kivy\base.py", line 26, in
from kivy.clock import Clock
File "c:\Python27\kivy\clock.py", line 362, in
from kivy._clock import CyClockBase, ClockEvent, FreeClockEvent,
ImportError: DLL load failed: %1 is not a valid Win32 application.

@Pkemarco
Copy link

Pkemarco commented Dec 23, 2017 via email

@alonoz
Copy link

alonoz commented Feb 12, 2018

Same issue, latest git version

@xyyxhcj
Copy link

xyyxhcj commented May 27, 2022

Same issue, version 2.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests