Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Distutils Error while building 'win32com.client' extension

Thread Tools

Distutils Error while building 'win32com.client' extension

Posts: n/a
Hello python people,

Can you help me out please.
I get the folllowing Error while trying to build a installer with the
Distutils module:
building 'win32com.client' extension....
'Python was built with version 7.1 of Visual Studio, and extensions need to
be built with the same version of the compiler, but it isn't installed.'

I don't konw which library to use so here's my :

from distutils.core import setup, Extension
setup(name='Marathon Manager',\
py_modules=['modMain','modWindows','modDialogs','modDataBase', 'ADOConstants'],\
data_files=[('bitmaps', ['gif/schoen.bmp', 'if/run.jpg'])],\
ext_modules=[Extension('win32com.client', ['pythoncom.lib'])])

Thank you all (Again )

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
distutils, No module named numpy.distutils.fcompiler.conv_template Luis Alberto Zarrabeitia Gomez Python 0 03-30-2009 03:56 PM
can distutils windows installer invoke another distutils windows installer Python 1 05-11-2006 10:07 PM
Distutils Error while building 'win32com.client' extension Math Python 0 02-26-2006 07:03 PM
distutils: How add "-L path" switch when building C extension? Christian Seberino Python 0 11-05-2003 10:09 PM
building rpms with distutils Jeremy Sanders Python 1 10-17-2003 03:50 PM