[New-bugs-announce] [issue25585] Bad path leads to: ImportError: DLL load failed: %1 is not a valid Win32 application.

Laura Creighton report at bugs.python.org
Sun Nov 8 12:36:01 EST 2015


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 <report at bugs.python.org>
<http://bugs.python.org/issue25585>
_______________________________________


More information about the New-bugs-announce mailing list