[python-win32] Problem in install Distutils/python-sybase-0.39

Gerdus van Zyl gerdusvanzyl at gmail.com
Tue Jun 2 15:13:54 CEST 2009


Well that's a problem with the sybase module itself. So try asking on
the relevant mailing list or forum/ stackoverflow . Also just noticed
you are on linux while this is a python on windows list, so it might
not be the most helpful. Just off the top of my head try putting the
sybase headers in an include folder see if it helps. Further I can't
help since I don't use sybase.

~Gerdus

On Tue, Jun 2, 2009 at 2:35 PM, Santosh Mohan <santosh.mce at gmail.com> wrote:
> Hi Gerdus,
>
> I am facing problem while installing python-sybase module.
> There was distutils dependency, i resolved it.
> Now its another problem.
> santosh-r4c:~/python-sybase-0.39/python-sybase-0.39 # python setup.py
> install
> Directory /root/python-sybase-0.39/python-sybase-0.39/include does not exist
> - cannot build.
>
> CAn you help me!
>
> Thanks,
> Santosh
>
> On Mon, Jun 1, 2009 at 5:11 PM, Gerdus van Zyl <gerdusvanzyl at gmail.com>
> wrote:
>>
>> Ok try installing the python-devel package.
>>
>> On Mon, Jun 1, 2009 at 1:13 PM, Santosh Mohan <santosh.mce at 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 <gerdusvanzyl at 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.mce at 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 at python.org
>> >> > http://mail.python.org/mailman/listinfo/python-win32
>> >> >
>> >> >
>> >
>> >
>> >
>> > --
>> > Regards,
>> > Santosh M
>> >
>
>
>
> --
> Regards,
> Santosh M
>


More information about the python-win32 mailing list