Hello,
I have installed Python 2.7.11 - 64bit version on a Windows Server 2012 R2 Standard (64-bit version) from www.python.org/downloads/windows/<https://www.python.org/downloads/windows/> [cid:image001.png@01D1812B.49530750] where I used the x86-64 MSI Installer No problems so far. When I run the following commands I get error messages: PS D:\> python27\python Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:40:30) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> import sys >>> import glob >>> import datetime >>> import time >>> import platform >>> import win32service Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: DLL load failed: %1 is not a valid Win32 application. >>> import pywintypes Traceback (most recent call last): File "<stdin>", line 1, in <module> File "D:\python27\lib\site-packages\win32\lib\pywintypes.py", line 124, in <module> __import_pywin32_system_module__("pywintypes", globals()) File "D:\python27\lib\site-packages\win32\lib\pywintypes.py", line 64, in __import_pywin32_system_module__ import _win32sysloader ImportError: DLL load failed: %1 is not a valid Win32 application. What is the reason? How can I solve this problem? Best regards Andreas
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32