[Urwid] problem installing urwid

Jeff Roberts jefflroberts at gmail.com
Mon Nov 21 16:07:02 EST 2005


Hello,

Running CentOS 3.5, with python2.2.  I get this when i run the installer:

[root at ajack urwid-0.8.0]# python setup.py install
make: *** No rule to make target `release'.  Stop.
running install
Traceback (most recent call last):
  File "setup.py", line 32, in ?
    packages=['urwid'],
  File "/usr/lib/python2.2/distutils/core.py", line 138, in setup
    dist.run_commands()
  File "/usr/lib/python2.2/distutils/dist.py", line 902, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.2/distutils/dist.py", line 921, in run_command
    cmd_obj.ensure_finalized()
  File "/usr/lib/python2.2/distutils/cmd.py", line 112, in ensure_finalized
    self.finalize_options()
  File "/usr/lib/python2.2/distutils/command/install.py", line 267, in
finalize_options
    (prefix, exec_prefix) = get_config_vars('prefix', 'exec_prefix')
  File "/usr/lib/python2.2/distutils/sysconfig.py", line 417, in get_config_vars
    func()
  File "/usr/lib/python2.2/distutils/sysconfig.py", line 322, in _init_posix
    raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: invalid Python installation:
unable to open /usr/lib/python2.2/config/Makefile (No such file or
directory)
[root at ajack urwid-0.8.0]#

Does anyone have any ideas as to what is wrong?  I am a total python
newb so it might be something obvious.

Thanks, Jeff



More information about the Urwid mailing list