从the readline module documentation开始,它提到:
On MacOS X the readline module can be implemented using the libedit library instead of GNU readline. The configuration file for libedit is different from that of GNU readline.
例如,是否可以使用/usr/lib/libreadline.dylib中的readline库,甚至可以使用MacPorts或Homebrew进行编译?
解决方法:
$sudo easy_install readline