Distutils Error while building 'win32com.client' extension

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Math

    #1

    Distutils Error while building 'win32com.client' extension

    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.clien t' 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 setup.py :

    from distutils.core import setup, Extension
    setup(name='Mar athon Manager',\
    version='0.1.0' ,\
    author='Math',\
    py_modules=['modMain','modW indows','modDia logs','modDataB ase','ADOConsta nts'],\
    data_files=[('bitmaps', ['gif/schoen.bmp', 'if/run.jpg'])],\
    ext_modules=[Extension('win3 2com.client', ['pythoncom.lib'])])

    Thank you all (Again :-))

Working...