First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
It looks like you have a problem with win32com. It causes problems for me all the time. I've always gotten it to work eventually, but it takes some fiddling. First, I'd try deleting (or renaming) the folder "C:\Python27\Lib\site-packages\win32com\gen_py".
I've also had some luck with setting Excel to run in different compatibility modes. Find excel.exe, right click and go into the properties, and try a couple of different compatibility modes (e.g. XP service pack 3 or windows 7).
If that doesn't work, uninstall Python 2.7 and delete the "C:\Python27" folder. You'll need to reinstall Python and win32com (search for wxPython2.8-win32-unicode-2.8.12.1-py27.exe).
Good luck.