win32ui DLL Load Failed

Chris Kaynor ckaynor at zindagigames.com
Mon Aug 31 15:51:59 EDT 2009


You likely need to install the Microsoft Visual C++ 2008 SP1 Redistributable
Package on the target machine. If you search Google for this, you should
find it (make sure to grab the correct version of x86 or x64 depending upon
the Python version).


Chris


On Mon, Aug 31, 2009 at 12:43 PM, MikeC <mcravitz at att.net> wrote:

> I have a python executable that's failing to load on a user's machine
> running Windows XP. My developer machine is also running Windows XP. I
> have determined that it is failing when it attempts to load win32ui.
>
> I have Python 2.6 on my developer machine and am using the pywin
> support (Mark Hammonds???) for Python 2.6.
>
> In order to make the problem smaller and more managable I created an
> executable (with pytoexe) of a 1 one-line python script which does the
> following:
>
> import win32ui
>
> Running the one-line script on my machine from python source as well
> as from the executable created from the one-line source works fine on
> my machine. But when I attempt to run the executable on a target
> Windows/XP user machine (without Python) it fails with the following
> traceback
>
> Traceback (most recent call last):
>  File "CheckScan.py", line 7, in <module>
>  File "PrintImage.pyc", line 1, in <module>
>  File "win32ui.pyc", line 12, in <module>
>  File "win32ui.pyc", line 10, in __load
> ImportError: DLL load failed: This application has failed to start
> because the application configuration is incorrect. Reinstalling the
> application may fix this problem.
>
> The only thing I can think of regarding the difference between my
> machine and the target machine is that I have the .NET framework on my
> machine. Is it possible that that is the problem? Running Depends
> didn't get me anywhere. I would appreciate any help you can offer.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090831/e230e477/attachment.html>


More information about the Python-list mailing list