[python-win32] imp.load_module problem

Adam Pletcher adam.pletcher at gmail.com
Fri Jan 9 18:59:17 CET 2009


We don't appear to have any .assembly files, even after building
Python or pywin32, so I think I'm missing something.  Could you
elaborate a bit, Mark?
Thanks in advance.

- Adam

On Thu, Jan 8, 2009 at 5:44 PM, Mark Hammond <skippy.hammond at gmail.com> wrote:
> On 9/01/2009 7:46 AM, Adam Pletcher wrote:
>>
>>    imp.load_module(modName, None, modulePath, ('.dll', 'rb',
>> imp.C_EXTENSION))
>>    ImportError: DLL load failed: The application has failed to start
>> because its side-by-side configuration is incorrect. Please see the
>> application event log for more detail.
>>
>> If it's relevant, the Python DLLs and pywin32 files were built with
>> VS2008 on both configurations.
>>
>> I've searched around for this with no luck.  Any suggestions?
>
> You need the full assembly for the debug DLLs installed globally or next to
> your app.  Simply having the .DLLs without the .assembly file and without
> every DLL referenced in the assembly (there are 3 IIRC) isn't good enough.
>
> Cheers,
>
> Mark
>


More information about the python-win32 mailing list