HOW TO FIX No module named pywintypes

来源:互联网 发布:抱枕淘宝 编辑:程序博客网 时间:2024/06/10 18:50

THE ERROR

Is cause because there is a cluster fuck of references to microsoft dlls on the python win32 module and for random reasons the modules.py lost track of them.

THE FIX

so this particular error i got it fixed copying the file C:\Python31\Lib\site-packages\pywin32_system32\pywintypes31.dll to C:\Python31\Lib\site-packages\win32\lib

Thats for python 3.1 for 3.2 just look for pywintypes32.dll.

Good luck

- See more at: http://fromacoder.com/how-to-fix-no-module-named-pywintypes/#sthash.W9ftRRzy.dpuf
0 0