{"action":"created","issue":{"url":"https://api.github.com/repos/ipython/ipython/issues/9815","repository_url":"https://api.github.com/repos/ipython/ipython","labels_url":"https://api.github.com/repos/ipython/ipython/issues/9815/labels{/name}","comments_url":"https://api.github.com/repos/ipython/ipython/issues/9815/comments","events_url":"https://api.github.com/repos/ipython/ipython/issues/9815/events","html_url":"https://github.com/ipython/ipython/issues/9815","id":167994641,"number":9815,"title":"ImportError: No module named shutil_get_terminal_size","user":{"login":"applar","id":20507497,"avatar_url":"https://avatars.githubusercontent.com/u/20507497?v=3","gravatar_id":"","url":"https://api.github.com/users/applar","html_url":"https://github.com/applar","followers_url":"https://api.github.com/users/applar/followers","following_url":"https://api.github.com/users/applar/following{/other_user}","gists_url":"https://api.github.com/users/applar/gists{/gist_id}","starred_url":"https://api.github.com/users/applar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/applar/subscriptions","organizations_url":"https://api.github.com/users/applar/orgs","repos_url":"https://api.github.com/users/applar/repos","events_url":"https://api.github.com/users/applar/events{/privacy}","received_events_url":"https://api.github.com/users/applar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-28T01:40:34Z","updated_at":"2016-07-28T10:40:25Z","closed_at":null,"body":"After installing ipython `sudo apt-get install ipython-notebook` , `ipython` it appears a error, as follows:\r\n\r\njiangyuping@Lenovo:~$ ipython\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/ipython\", line 4, in <module>\r\n    from IPython import start_ipython\r\n  File \"/usr/local/lib/python2.7/dist-packages/IPython/__init__.py\", line 48, in <module>\r\n    from .core.application import Application\r\n  File \"/usr/local/lib/python2.7/dist-packages/IPython/core/application.py\", line 25, in <module>\r\n    from IPython.core import release, crashhandler\r\n  File \"/usr/local/lib/python2.7/dist-packages/IPython/core/crashhandler.py\", line 28, in <module>\r\n    from IPython.core import ultratb\r\n  File \"/usr/local/lib/python2.7/dist-packages/IPython/core/ultratb.py\", line 128, in <module>\r\n    from IPython.utils.terminal import get_terminal_size\r\n  File \"/usr/local/lib/python2.7/dist-packages/IPython/utils/terminal.py\", line 22, in <module>\r\n    from backports.shutil_get_terminal_size import get_terminal_size as _get_terminal_size\r\nImportError: No module named shutil_get_terminal_size\r\n"},"comment":{"url":"https://api.github.com/repos/ipython/ipython/issues/comments/235860938","html_url":"https://github.com/ipython/ipython/issues/9815#issuecomment-235860938","issue_url":"https://api.github.com/repos/ipython/ipython/issues/9815","id":235860938,"user":{"login":"takluyver","id":327925,"avatar_url":"https://avatars.githubusercontent.com/u/327925?v=3","gravatar_id":"","url":"https://api.github.com/users/takluyver","html_url":"https://github.com/takluyver","followers_url":"https://api.github.com/users/takluyver/followers","following_url":"https://api.github.com/users/takluyver/following{/other_user}","gists_url":"https://api.github.com/users/takluyver/gists{/gist_id}","starred_url":"https://api.github.com/users/takluyver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takluyver/subscriptions","organizations_url":"https://api.github.com/users/takluyver/orgs","repos_url":"https://api.github.com/users/takluyver/repos","events_url":"https://api.github.com/users/takluyver/events{/privacy}","received_events_url":"https://api.github.com/users/takluyver/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T10:40:25Z","updated_at":"2016-07-28T10:40:25Z","body":"You have a newer copy of IPython installed outside apt, and it requires the package [backports.shutil_get_terminal_size](https://pypi.python.org/pypi/backports.shutil_get_terminal_size). Use `pip` to install that."}}
{"actor":{"display_login":"takluyver"}}