libedit detected - readline will not be well behaved, including but not limited to: * crashes on tab completion * incorrect history navigation * corrupting long-lines * failure to wrap or indent lines properly It is highly recommended that you install readline, which is easy_installable: easy_install readline Note that `pip install readline` generally DOES NOT WORK, because it installs to site-packages, which come *after* lib-dynload in sys.path, where readline is located. It must be `easy_install readline`, or to a custom location on your PYTHONPATH (even --user comes after lib-dyload).
この場合、 readline というPythonライブラリが不足しているということなので、 readline を入れれば解決します。
ただし、警告文で指示されているとおりに pip でインストールするとうまく解消できないことがあります。
$ pip install readline
この場合は readline をいったんアンインストールしてから easy_install で入れるとうまくいくことがあるようです。
$ pip uninstall readline $ easy_install readline
以上です。
参考
pip installing ipython with readline on OSX Lion - Stack Overflow
python - ipython complaining about readline - Stack Overflow
0 件のコメント:
コメントを投稿