git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Todd Zullinger <tmz@pobox.com>
Date
Mar 1, 2010, 16:15 UTC
Message-ID
<20100301161541.GM29188@inocybe.localdomain>
In-Reply-To
<20100301144000.GA17135@cs-wsok.swansea.ac.uk>
Oliver Kullmann wrote:
Show 17 quoted lines
> 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
Previous: Sverre Rabbelier
Message 6 of 6 in “error when installing 1.7.0.1: "ImportError: No module named distutils.core"”
  1. Oliver KullmannMar 1, 2010
  2. Tay Ray ChuanMar 1, 2010
  3. Sverre RabbelierMar 1, 2010
  4. Julian PhillipsMar 1, 2010
  5. Sverre RabbelierMar 1, 2010
  6. Todd ZullingerMar 1, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.