I updated the Python version on my Windows 8.1 box to match yours exactly, and here is what I see:
Microsoft Windows [Version 6.3.9600] > (c) 2013 Microsoft Corporation. All rights reserved. > > C:\Users\vernon>py > Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] > on win32 > Type "help", "copyright", "credits" or "license" for more information. > >>> import win32api > >>> win32api.GetVersion() > 602931718 > >>> > > The difference I see is that my Python says "on win32" but yours does not, so there is some difference in the installations. I used the Python x86 msi installer, UAC on, installed for all users from an administrator account, taking all defaults. I am running on an administrator account. How might your installation be different? -- Vernon Cole On Tue, Mar 11, 2014 at 6:17 PM, Werner <werner...@gmx.ch> wrote: > Hi, > > I sent this to "pywin32-b...@lists.sourceforge.net" a while ago but it > doesn't show up in the archive, so I try here. > > I just started working with Windows 8.1 and run into problems with above. > > 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] > Python Type "help", "copyright", "credits" or "license" for more > information. > import win32api > Traceback (most recent call last): > File "<string>", line 1, in <fragment> > ImportError: DLL load failed: %1 is not a valid Win32 application. > > I tried both "pywin32-218.win32-py2.7.exe" and > "pywin32-216.win32-py2.7.exe". > > I had no problems with pywin32 on Windows 7. > > Appreciate any tip on how to fix this. > > Werner > _______________________________________________ > python-win32 mailing list > python-win32@python.org > https://mail.python.org/mailman/listinfo/python-win32 >
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32