---
slug: "iPython実行時のreadlineエラーを解消"
title: "Resolving Readline Errors When Running iPython"
description: "When I switched to MacOS Lion and was setting up my environment, I encountered the following error when running iPython:"
url: "https://www.ytyng.com/en/blog/iPython実行時のreadlineエラーを解消"
publish_date: "2011-12-29T03:04:53Z"
created: "2011-12-29T03:04:53Z"
updated: "2026-02-27T10:44:53.976Z"
categories: ["Python"]
keywords: ""
featured_image_url: "https://media.ytyng.com/resize/20230812/a9a9254abdfb4796a594a8d4909e43d8.png.webp?width=768"
has_video: false
has_music: false
video_urls: []
music_urls: []
lang: "en"
---

# Resolving Readline Errors When Running iPython

When I switched to MacOS Lion and was setting up my environment, I encountered the following error when running iPython:

```plaintext
(省略)/python2.7/site-packages/IPython/utils/rlineimpl.py:96: RuntimeWarning: Leopard libedit detected - readline will not be well behaved including some crashes on tab completion, and incorrect history navigation. It is highly recommended that you install readline, which is easy_installable with: 'easy_install readline'
  RuntimeWarning
```

This error disappeared after running the command:

```plaintext
$ easy_install-2.7 -a readline
```
