Skip to content. | Skip to navigation

Personal tools


You are here: Home / Members / jhb / Installing python buildout with readline

Installing python buildout with readline

by Jörg Baach last modified Feb 25, 2017 05:33 PM
Compiling python using buildout.python doesn't work with readline. Fixed.

I use to have all python versions available on my developer machine. The normal buildout however produces python versions where the "import readline" fails.

Turns out there is a bug that python doesn't play nicely with readline 6.3, which is the version included in the buildout. This can easily be fixed in src/readline.cfg Just change the line containing the url for the readline source from

url =


url =

Thats it. Oh, and don't forget that you need to have some libraries installed

sudo apt-get install libreadline-dev libbz2-dev libssl-dev libncurses5-dev

And: instead of the official github repository you can use my for at:

Add comment

You can add a comment by filling out the form below. Plain text formatting.

Question: What is 23 plus 19?
Your answer: