您的位置:首页 > 其它

win7-64bit安装comtypes的问题

2013-08-02 08:42 302 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: