Python2.2/config/makefile?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nathaniel Mallet

    Python2.2/config/makefile?

    I'm trying to install MySQLdb on SuSE 8.1, but the setup script
    complains that it can't find /usr/lib/python2.2/config/makefile. I
    just looked at the ActiveState distribution on Windows, the default
    Python install on SuSE 8.1 AND the Python 2.3 source distribution
    downloadable from Python.org, and none of them have any mention of
    that makefile. The whole config directory simply doesn't exist.

    The MySQLdb setup script doesn't refer to that path or file either.
    The error I get is this:

    disutils.errors .DistutilsPlatf ormError: invalid Python installation:
    unable to open /usr/lib/python2.2/config/makefile: no such file or
    directory.

    Any ideas?

    Thanks,

    Phemur
  • Gerhard Häring

    #2
    Re: Python2.2/config/makefile?

    Nathaniel Mallet wrote:[color=blue]
    > disutils.errors .DistutilsPlatf ormError: invalid Python installation:
    > unable to open /usr/lib/python2.2/config/makefile: no such file or
    > directory.[/color]

    Install the Python development package, called python-devel or some such
    in your distribution.

    This is really a FAQ and probably should be listed in the Python FAQ if
    it not already is ...

    -- Gerhard


    Comment

    Working...