New submission from rlinscheer:

When installing python-2.7.3.amd64.msi or python-2.7.3.msi and selecting for 
single-user (as opposed to for all users), an incorrect version of the 
microsoft C runtime library (msvcr90.dll) seems to be placed into the top-level 
directory along side the python executable.  This results in the message:

The application has failed to start because its side-by-side configuration is 
incorrect. Please see the application event log or use the command-line 
sxstrace.exe tool for more detail.

The event log shows the error too:

Activation context generation failed for "C:\python_rob_32\pythonw.exe".Error 
in manifest or policy file "C:\python_rob_32\Microsoft.VC90.CRT.MANIFEST" on 
line 4. Component identity found in manifest does not match the identity of the 
component requested. Reference is 
Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
 Definition is 
Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.1".
 Please use sxstrace.exe for detailed diagnosis.

Running the sxstrace tool shows the following:

INFO: Parsing Manifest File C:\python_rob_32\Microsoft.VC90.CRT.MANIFEST.
        INFO: Manifest Definition Identity is 
Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.1".
        ERROR: Component identity found in manifest does not match the identity 
of the component requested. Reference is 
Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
 Definition is 
Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.1".
ERROR: Activation Context generation failed.

This would seem to be the relevant section of the trace, though I have attached 
the full output of the sxstrace if desired.

This leads me to the conclusion that a newer version of the C runtime library 
is being shipped with the python executable that was built with an older 
version.

This problem was mentioned with less detail in issue 14608, but closed without 
resolution as far as I can tell.

----------
components: Installation
files: rob_32.txt
messages: 172584
nosy: rlinscheer
priority: normal
severity: normal
status: open
title: Windows C Runtime Library Mismatch
type: crash
versions: Python 2.7
Added file: http://bugs.python.org/file27517/rob_32.txt

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16188>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to