{"action":"created","issue":{"url":"https://api.github.com/repos/powerline/powerline/issues/1361","labels_url":"https://api.github.com/repos/powerline/powerline/issues/1361/labels{/name}","comments_url":"https://api.github.com/repos/powerline/powerline/issues/1361/comments","events_url":"https://api.github.com/repos/powerline/powerline/issues/1361/events","html_url":"https://github.com/powerline/powerline/issues/1361","id":75110726,"number":1361,"title":"Powerline wont work on my .zshrc and .bashrc","user":{"login":"musamanyama","id":5174884,"avatar_url":"https://avatars.githubusercontent.com/u/5174884?v=3","gravatar_id":"","url":"https://api.github.com/users/musamanyama","html_url":"https://github.com/musamanyama","followers_url":"https://api.github.com/users/musamanyama/followers","following_url":"https://api.github.com/users/musamanyama/following{/other_user}","gists_url":"https://api.github.com/users/musamanyama/gists{/gist_id}","starred_url":"https://api.github.com/users/musamanyama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/musamanyama/subscriptions","organizations_url":"https://api.github.com/users/musamanyama/orgs","repos_url":"https://api.github.com/users/musamanyama/repos","events_url":"https://api.github.com/users/musamanyama/events{/privacy}","received_events_url":"https://api.github.com/users/musamanyama/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/powerline/powerline/labels/c:b:shell","name":"c:b:shell","color":"5379e7"},{"url":"https://api.github.com/repos/powerline/powerline/labels/t:bug","name":"t:bug","color":"FF0000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-11T06:43:14Z","updated_at":"2015-05-11T08:00:08Z","closed_at":null,"body":"Hi, i have Ubuntu linux 14.04, i have installed and 'sourced' powerline.zsh in my .zshrc (also my .bashrc) but when i start the terminals i get an error saying: \r\n>\r\nTraceback (most recent call last):                                                                 \r\n  File \"/usr/bin/powerline-render\", line 15, in <module>\r\n    from powerline.shell import ShellPowerline, get_argparser, finish_args, write_output\r\nImportError: cannot import name get_argparser\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/powerline-render\", line 15, in <module>\r\n    from powerline.shell import ShellPowerline, get_argparser, finish_args, write_output\r\n> ImportError: cannot import name get_argparser.\r\n\r\nhave installed many versions (python, python2, python 2.7, python3 and python 3.4) am not a python programmer but i understand a bit of python codes. Please help cause i couldn't find the solution for my own and i would really love to have powerline working on my shells.. \r\nThanks.. \r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/14200822-powerline-wont-work-on-my-zshrc-and-bashrc?utm_campaign=plugin&utm_content=tracker%2F283196&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F283196&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/powerline/powerline/issues/comments/100806244","html_url":"https://github.com/powerline/powerline/issues/1361#issuecomment-100806244","issue_url":"https://api.github.com/repos/powerline/powerline/issues/1361","id":100806244,"user":{"login":"ZyX-I","id":322097,"avatar_url":"https://avatars.githubusercontent.com/u/322097?v=3","gravatar_id":"","url":"https://api.github.com/users/ZyX-I","html_url":"https://github.com/ZyX-I","followers_url":"https://api.github.com/users/ZyX-I/followers","following_url":"https://api.github.com/users/ZyX-I/following{/other_user}","gists_url":"https://api.github.com/users/ZyX-I/gists{/gist_id}","starred_url":"https://api.github.com/users/ZyX-I/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZyX-I/subscriptions","organizations_url":"https://api.github.com/users/ZyX-I/orgs","repos_url":"https://api.github.com/users/ZyX-I/repos","events_url":"https://api.github.com/users/ZyX-I/events{/privacy}","received_events_url":"https://api.github.com/users/ZyX-I/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T08:00:08Z","updated_at":"2015-05-11T08:00:08Z","body":"How exactly did you install it? Line 15 that is shown here is from an outdated version of powerline: `get_argparser` and other functions after `ShellPowerline` class were long since moved to another location.\r\n\r\nYou must make sure you have only one powerline installation. This situation looks like if you have outdated powerline installation installed into /usr and more up-to-date installed somewhere else (use `python -c 'import powerline.shell; print(powerline.shell.__file__)'` to determine where)."}}