win7-64bit安装comtypes的问题


Update 28/12/2014:

Please download the latest comtypes 1.1.1 from https://pypi.python.org/pypi/comtypes and run setup or just use pip

Ulipad依赖于comtypes,但是comtypes只有32位安装包,直接在win7 64bit下安装会出错

参考这篇博文的解决方法

http://idaemon.net/post-213.html

修改安装包的setup.py文件中第42行

from distutils.core import setup, Command, DistutilsOptionError

修改为:

from distutils.core import setup, Command 
from distutils.errors import DistutilsOptionError

这样在执行下面的安装命令就不会出错

python setup.py install

 

原文地址:https://www.cnblogs.com/pasuka/p/3231710.html