问题
I started getting this error every time I try to:
- install Python package with installer
- use PyWin extension (through COM application)
- start Notepad++ (with Python script plugin)
This started to happen couple of days ago.
Dialog shows, I dismiss and everything runs fine, except it pops again and again
I reinstalled Python 2.7.3 on Windows XP SP3 32bit, then reinstalled PyWin extensions, but nothing changed.
Looking for answer here, I found that obviously some library is missing manifest declaration, but I can't figure which one. Or what is loaded by default in all above mentioned 3 scenarios. Does anyone maybe has an idea?
I found it - it's PyGTK. I installed it couple of days ago, and I did suspect on it, but wasn't sure and didn't wanted to mislead.
I renamed gtk-2.0
folder in site-packages and dialog stopped to show
Will contact the team and report back if I have something
Update
I tried to contact PyGTK team, couple of days ago, but the list seems very low frequency, I wonder who uses PyGTK on Windows. This is the link to reported problem in case anyone cares: http://www.daa.com.au/pipermail/pygtk/2012-November/020462.html
And in case anyone is curious what did I do with this error dialogs, here is answer: I used PyGTK as I needed it by one project, which I now compiled to executable and got rid of GTK from my Python packages.
回答1:
If you know what application or library is failing to load, you can use Dependency Walker to show any missing dependencies.
来源:https://stackoverflow.com/questions/13182444/an-application-has-made-an-attempt-to-load-the-c-runtime-library-incorrectly