Issue 301 in ulipad: comtypes Issues again

Skip to first unread message

Sep 20, 2012, 5:22:00 PM9/20/12
Status: New
Owner: ----

New issue 301 by comtypes Issues again

Seems quite similar to ISSUE 112, but I am not sure.

What steps will reproduce the problem?
1. Install python-2.7.3.amd64.msi
2. Install wxPython2.9-win64-
3. SVN checkup the updated ulipad
4. run

What is the expected output? What do you see instead?
Expect the nice GUI of Ulipad would show up. However, it shows:

begin... 16:03:31
There are some errors as importing mimxins, Please see the error.txt.


[Traceback]Traceback (most recent call last):
File "", line 85, in <module>
import mixins
File "C:\Users\cxn123430\Downloads\tools\ulipad\mixins\", line
163, in <module>
import Import
File "C:\Users\cxn123430\Downloads\tools\ulipad\mixins\", line
7728, in <module>
from mixins import HtmlPage
File "C:\Users\cxn123430\Downloads\tools\ulipad\mixins\", line
33, in <module>
import wx.lib.iewin as iewin
File "C:\Python27\lib\site-packages\wx-2.9.4-msw\wx\lib\", line
15, in <module>
import wx.lib.activex
File "C:\Python27\lib\site-packages\wx-2.9.4-msw\wx\lib\", line
36, in <module>
import comtypes
ImportError: No module named comtypes

What version of the product are you using? On what operating system?
Python 2.7.3
OS: Windows 7 64 bit

Please provide any additional information below.

I went to
to download both zip and exe file. Running the exe file will tell me it
does not find python. After unzipping the file, running the of
comtypes folder would get this:

Traceback (most recent call last):
File "C:\Users\cxn123430\Downloads\comtypes-0.6.2\", line 42, in
from distutils.core import setup, Command, DistutilsOptionError
ImportError: cannot import name DistutilsOptionError


Sep 20, 2012, 7:42:50 PM9/20/12

Comment #1 on issue 301 by comtypes Issues again

comtypes has exe installer, so you should download it. And for wxpython
2.9, I found some compatiable problems, so I suggest that using 2.8.x

Sep 21, 2012, 3:09:19 PM9/21/12

Comment #2 on issue 301 by comtypes Issues again

The exe file of comtypes does not work as shown in the first picture. But I
found a solution to this.
1. Install wxpython 2.8 version
2. Download the zip version of comtypes
3. unzip it and copy the files into your sit-packages folder in python
directory (e.g. C:\Python27\Lib\site-packages), as shown in the second
4. Run

install_comtypes.png 55.8 KB
copy_comtypes.png 91.6 KB

Sep 21, 2012, 7:29:04 PM9/21/12
Status: Invalid

Comment #3 on issue 301 by comtypes Issues again

Because comtypes will find the python installation directory in registry,
so if you haven't install python normal, it'll be failed.

Reply all
Reply to author
0 new messages