# Re: error when installing 1.7.0.1: "ImportError: No module named distutils.core"

2 messages from 2010-03-01 to 2010-03-01. Participants: Oliver Kullmann, Sverre Rabbelier.
Thread: https://gitlist.dev/t/22868

## Oliver Kullmann, 2010-03-01 17:04

Subject: Re: error when installing 1.7.0.1: "ImportError: No module named distutils.core"
Message-ID: <20100301170410.GG17508@cs-wsok.swansea.ac.uk>
URL: https://gitlist.dev/e/20100301170410.GG17508%40cs-wsok.swansea.ac.uk

```
Okay, with --without-python it works now.
If it's not needed for most people, wouldn't it be
better that this would be the default?

Thanks!

Oliver


On Mon, Mar 01, 2010 at 11:15:41AM -0500, Todd Zullinger wrote:
> Oliver Kullmann wrote:
> > I've installed 1.6.6.2, but now when
> > installing 1.7.0.1 (same machine) I get
> >
> > make[3]: Leaving directory `/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/builds/Git/git-1.7.0.1/perl'
> > make[2]: Leaving directory `/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/builds/Git/git-1.7.0.1/perl'
> > make[2]: Entering directory `/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/builds/Git/git-1.7.0.1/git_remote_helpers'
> > Traceback (most recent call last):
> >   File "setup.py", line 5, in ?
> >     from distutils.core import setup
> > ImportError: No module named distutils.core
> >
> >
> > I'm using
> >
> > make configure
> > sh ./configure --prefix=InstallDir
> > make all
> 
> If you have no need for the git_remote_helpers (and unless you are
> working on adding a git remote helper in python, I don't think you
> do), you can pass --without-python to configure.  I think that's the
> right way using configure, I use make directly and pass NO_PYTHON = 1
> for the time being.
> 
> -- 
> Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> There are no differences but differences of degree between different
> degrees of difference and no difference.
>     -- William James, under nitrous oxide; 1882
> 

-- 
Dr. Oliver Kullmann
Computer Science Department
Swansea University
Faraday Building, Singleton Park
Swansea SA2 8PP, UK
http://cs.swan.ac.uk/~csoliver/

```

## Sverre Rabbelier, 2010-03-01 17:26

Subject: Re: error when installing 1.7.0.1: "ImportError: No module named distutils.core"
Message-ID: <fabb9a1e1003010926p7fdaf66cm6b8830bbb18e8477@mail.gmail.com>
URL: https://gitlist.dev/e/fabb9a1e1003010926p7fdaf66cm6b8830bbb18e8477%40mail.gmail.com
In-Reply-To: <20100301170410.GG17508@cs-wsok.swansea.ac.uk>

```
Heya,

[please don't cull the cc list]

On Mon, Mar 1, 2010 at 18:04, Oliver Kullmann <O.Kullmann@swansea.ac.uk> wrote:
> Okay, with --without-python it works now.
> If it's not needed for most people, wouldn't it be
> better that this would be the default?

I don't think that's a good idea, I'd rather give it some exposure and
catch bugs like these, and then when we start using it (hopefully
soon) we won't run into any unexpected build troubles.

-- 
Cheers,

Sverre Rabbelier

```
