Ho lo stesso problema che causa gvim non è in grado di caricare python pyd dll. Ci sono alcuni suggerimenti per risolvere la DLL di .pyd che causa il problema di cui sopra. Non sono sicuro c'è un modo per risolvere l'errore di runtime per tutte le DLL. Refere al link Not embed the correct manifest for the msvc runtimes on windows su come risolvere il problema.
Aggiornamento: Invece di aggiornare manifest per il file .pyd. Ho provato ad aggiornare manifest per gvim direttamente aggiornando il manifest gvim originale con alcune modifiche dal manifest python.exe.
# dump manifest from gvim.exe
>> mt.exe -inputresource:gvim.exe;#1 -out:gvim.manifest
# dump manifest from python.exe
# *I use python26 for gvim, default gvim come with python27
>> mt.exe -inputresource:c:\python26\python.exe;#1 -out:python.manifest
# manually edit gvim.manifest, just change the line with dependentAssembly with
# line from the python.manifest which will depend on VC90.CRT
# Then, update the edited manifest into gvim.exe
>> mt.exe -manifest gvim.manifest -outputresource:gvim.exe;1
Qui di seguito sono i miei gvim.manifest modificato:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity processorArchitecture="*" version="7.3.0.0" type="win32" name="Vim"></assemblyIdentity>
<description>Vi Improved - A Text Editor</description>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.21022.8" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>true</dpiAware>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>
Tu sei quell'uomo! Molte grazie! –
+1 È ridicolo che sia arrivato a questo, ma questo ha risolto il problema. – Hubro
A causa del mio ambiente, ho avuto molte difficoltà nel far sì che vim e python suonassero bene insieme. La modifica del manifest per gvim come menzionato sopra ha risolto completamente il mio problema. Non ci avrei pensato. Grazie! – Mark