Ok try installing the python-devel package.

On Mon, Jun 1, 2009 at 1:13 PM, Santosh Mohan <santosh....@gmail.com> wrote:
> Python is the same of SLES10 distro
>
> santosh-r4c:~ # python -V
> Python 2.4.2
>
>
> On Mon, Jun 1, 2009 at 3:28 PM, Gerdus van Zyl <gerdusvan...@gmail.com>
> wrote:
>>
>> what python version are you running? and from where did you get
>> python? distutils should be part of your python since it's part of the
>> standard library.
>>
>> On Mon, Jun 1, 2009 at 11:43 AM, Santosh Mohan <santosh....@gmail.com>
>> wrote:
>> > Hi,
>> >
>> > I am facing problem in installing python-sybase-0.39 and Distutils.
>> >
>> > python-sybase-0.39 requires Distutils.
>> >
>> >
>> > -------------------------------------------------------------------------------------------------------
>> > santosh-r4c:~/python-sybase-0.38 # ls
>> > .cvsignore  LICENCE   Sybase.py  blk.c  conn.c  databuf.c  datetime.c
>> >  examples   iodesc.c  money.c  numeric.c  sybasect.c
>> > ChangeLog   PKG-INFO  TODO       cmd.c  ctx.c   datafmt.c  doc
>> > freetds.h  locale.c  msgs.c   setup.py   sybasect.h
>> >
>> > santosh-r4c:~/python-sybase-0.38 # python setup.py install
>> > Traceback (most recent call last):
>> >  File "setup.py", line 12, in ?
>> >    import distutils
>> > ImportError: No module named distutils
>> >
>> >
>> > santosh-r4c:~/Distutils-1.0.2 # ls
>> > CHANGES.txt  MANIFEST.in  PKG-INFO  README.txt  TODO  USAGE.txt
>> >  distutils
>> >  doc  examples  misc  setup.cfg  setup.py
>> > santosh-r4c:~/Distutils-1.0.2 # python setup.py build
>> > Traceback (most recent call last):
>> >  File "setup.py", line 30, in ?
>> >    packages = ['distutils', 'distutils.command'],
>> >  File "/root/Distutils-1.0.2/distutils/core.py", line 101, in setup
>> >    _setup_distribution = dist = klass(attrs)
>> >  File "/root/Distutils-1.0.2/distutils/dist.py", line 130, in __init__
>> >    setattr(self, method_name, getattr(self.metadata, method_name))
>> > AttributeError: DistributionMetadata instance has no attribute
>> > 'get___doc__'
>> >
>> > santosh-r4c:~/Distutils-1.0.2 # python setup.py install
>> > Traceback (most recent call last):
>> >   File "setup.py", line 30, in ?
>> >     packages = ['distutils', 'distutils.command'],
>> >   File "/root/Distutils-1.0.2/distutils/core.py", line 101, in setup
>> >     _setup_distribution = dist = klass(attrs)
>> >   File "/root/Distutils-1.0.2/distutils/dist.py", line 130, in __init__
>> >     setattr(self, method_name, getattr(self.metadata, method_name))
>> > AttributeError: DistributionMetadata instance has no attribute
>> > 'get___doc__'
>> > srm-srv-r4c:~/Distutils-1.0.2 #
>> >
>> > Can someone help me!
>> >
>> > --
>> > Regards,
>> > Santosh M
>> >
>> >
>> > _______________________________________________
>> > python-win32 mailing list
>> > python-win32@python.org
>> > http://mail.python.org/mailman/listinfo/python-win32
>> >
>> >
>
>
>
> --
> Regards,
> Santosh M
>
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to