Laura Creighton
2015-11-08 17:36:01 UTC
New submission from Laura Creighton:
Somebody reported this today:
File "C:/Python27/kivyhello.py", line 4, in <module>
from kivy.app import App
File "C:/Python27\kivy\app.py", line 316, in <module>
from kivy.base import runTouchApp, stopTouchApp
File "C:/Python27\kivy\base.py", line 30, in <module>
from kivy.event import EventDispatcher
File "C:/Python27\kivy\event.py", line 8, in <module>
import kivy._event
ImportError: DLL load failed: %1 is not a valid Win32 application.
----------------
The problem was that they needed to set their PATH properly so kivy could be found.
Couldn't we generate a more informative error message here?
Is the %1 even correct?
----------
messages: 254349
nosy: lac
priority: normal
severity: normal
status: open
title: Bad path leads to: ImportError: DLL load failed: %1 is not a valid Win32 application.
versions: Python 2.7
_______________________________________
Python tracker <***@bugs.python.org>
<http://bugs.python.org/issue25585>
_______________________________________
Somebody reported this today:
File "C:/Python27/kivyhello.py", line 4, in <module>
from kivy.app import App
File "C:/Python27\kivy\app.py", line 316, in <module>
from kivy.base import runTouchApp, stopTouchApp
File "C:/Python27\kivy\base.py", line 30, in <module>
from kivy.event import EventDispatcher
File "C:/Python27\kivy\event.py", line 8, in <module>
import kivy._event
ImportError: DLL load failed: %1 is not a valid Win32 application.
----------------
The problem was that they needed to set their PATH properly so kivy could be found.
Couldn't we generate a more informative error message here?
Is the %1 even correct?
----------
messages: 254349
nosy: lac
priority: normal
severity: normal
status: open
title: Bad path leads to: ImportError: DLL load failed: %1 is not a valid Win32 application.
versions: Python 2.7
_______________________________________
Python tracker <***@bugs.python.org>
<http://bugs.python.org/issue25585>
_______________________________________