python setup.py problem

John Arbash Meinel john at arbash-meinel.com
Tue Sep 5 15:22:11 BST 2006


Joseph Wakeling wrote:
> Hello all,
> 
> Actually this is not strictly a bzr problem, but since it's in support
> of getting bzr working, I thought I'd ask it here...
> 
> I've upgraded to openSUSE 10.1 which does not include cElementTree or
> paramiko in its package repositories.  When I try to install from
> source, python setup.py install results in an error,
> 
> Traceback (most recent call last):
>   File "setup.py", line 9, in ?
>     from distutils.core import setup, Extension
> ImportError: No module named distutils.core
> 
> The line number obviously varies depending on what setup.py I'm trying
> to run.
> 
> Can anyone suggest a solution?
> 
> Many thanks,
> 
>     -- Joe
> 

IIRC, you need to install 'python-dev' which includes the distutils package.

distutils is part of the python core distribution, though I guess it
gets broken out by some package managers. I don't know how openSUSE does
it. But the error you are getting has nothing to do with cElementTree or
paramiko.

John
=:->

PS> I really don't recommend using bzr without cElementTree. There is no
loss of functionality, but it is *much* slower.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060905/931eac86/attachment.pgp 


More information about the bazaar mailing list