Sewaktu hendak menginstall urwid sebuah console user interface library untuk Speedmeter pada distro Debian. Saya menemukan error sebagai berikut :

johncalvin:/home/gtoms/urwid-0.9.5# python install
running install
error: invalid Python installation: unable to open /usr/lib/python2.3/config/Makefile (No such file or directory)

error ini pernah juga saya dapat ketika menginstall hal yang sama pada mesin dengan distro Fedora, nah jika begitu berarti instalan pythonnya belum lengkap dan perlu ditambah paket python-dev :
johncalvin:/home/gtoms/urwid-0.9.5# apt-get install python-dev
Reading Package Lists… Done
Building Dependency Tree… Done
The following extra packages will be installed:
The following NEW packages will be installed:
python-dev python2.3-dev
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 1488kB of archives.
After unpacking 4678kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 stable/main python-dev 2.3.5-2 [6638B]
Get:2 stable/updates/main python2.3-dev 2.3.5-3sarge2 [1481kB]
Fetched 1488kB in 7m28s (3319B/s)
Selecting previously deselected package python2.3-dev.
(Reading database … 28743 files and directories currently installed.)
Unpacking python2.3-dev (from …/python2.3-dev_2.3.5-3sarge2_i386.deb) ...
Selecting previously deselected package python-dev.
Unpacking python-dev (from …/python-dev_2.3.5-2_all.deb) ...
Setting up python2.3-dev (2.3.5-3sarge2) ...

Setting up python-dev (2.3.5-2) ...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.