Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The version of Python provided by default in Snow Leopard makes available some features of the bash shell (i.e., command history, keyboard shortcuts, etc.) to its interactive interpreter. After compiling Python 3.1.2 from source and installing, I've noticed that the interactive interpreter for the compiled Python 3.1.2 lacks many of those same features (command history isn't available, can't clear the screen using Ctrl+L, can't navigate command lines using Emacs style shortcuts). Is there a configure option I missed to get this working? Has anyone gotten these features working after compiling from source?

NOTE: I'm compiling from source and installing into my home directory because I don't have admin privileges on this machine. I used the following commands to compile and install:

> ./configure --prefix=$HOME/.compiled/python-3.1.2
> make
> make install
share|improve this question
Isn't it early for python 3.x? I was going to suggest ipython as alternative, but noticed that they don't have a python 3.x port yet. – vtest Jul 15 '10 at 0:19
up vote 1 down vote accepted

Build libedit or readline first.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.