Christoph Gohlke <cgoh...@uci.edu> added the comment: This patch also removes empty dependentAssembly elements after removing the VC.CRT assemblyIdentity element.
It seems not enough to just place the Microsoft.VC90.CRT.manifest and VC runtime DLL files into the Python folder. On a system without the VC runtime installed in winsxs, trying to import a pyd module build without the patch fails with "ImportError: DLL load failed: ...". Import works when 1) the manifest and VC runtime DLLs are also placed in the same folder as the pyd file, or 2) the Microsoft Visual C++ 2008 redistributable package is installed, or 3) the pyd file is build with the patch installed. Tested with Windows XP SP3, Python 2.6.3, matplotlib 0.99.1, Visual Studio 2008 SP1. ---------- Added file: http://bugs.python.org/file15113/msvc9compiler_stripruntimes_regexp2.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4120> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com