{"action":"opened","issue":{"url":"https://api.github.com/repos/powerline/powerline/issues/1908","repository_url":"https://api.github.com/repos/powerline/powerline","labels_url":"https://api.github.com/repos/powerline/powerline/issues/1908/labels{/name}","comments_url":"https://api.github.com/repos/powerline/powerline/issues/1908/comments","events_url":"https://api.github.com/repos/powerline/powerline/issues/1908/events","html_url":"https://github.com/powerline/powerline/issues/1908","id":322034215,"number":1908,"title":"Module not found on a virtualenv","user":{"login":"rjsilvestre","id":1596514,"avatar_url":"https://avatars1.githubusercontent.com/u/1596514?v=4","gravatar_id":"","url":"https://api.github.com/users/rjsilvestre","html_url":"https://github.com/rjsilvestre","followers_url":"https://api.github.com/users/rjsilvestre/followers","following_url":"https://api.github.com/users/rjsilvestre/following{/other_user}","gists_url":"https://api.github.com/users/rjsilvestre/gists{/gist_id}","starred_url":"https://api.github.com/users/rjsilvestre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjsilvestre/subscriptions","organizations_url":"https://api.github.com/users/rjsilvestre/orgs","repos_url":"https://api.github.com/users/rjsilvestre/repos","events_url":"https://api.github.com/users/rjsilvestre/events{/privacy}","received_events_url":"https://api.github.com/users/rjsilvestre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-10T18:28:56Z","updated_at":"2018-05-10T18:28:56Z","closed_at":null,"author_association":"NONE","body":"Hi, I installed powerline on fedora 27 using the official repository packages. Installed powerline as the base package and vim-powerline which uses powerline.vim file to start powerline on vim.\r\nI am currently learning python and using virtualenvs for each project I work on.\r\nAll was working well until I updated to fedora 28. After the update powerline still loads fine on vim while not activating a virtualenv. After activating one, I get an module \"powerline\" not found error when starting vim. It seems to try to find powerline on the virtualenv modules folder.\r\nI was able to find a workaround by adding the line on .vimrc: \r\n```\r\npython3 sys.path.append('/usr/lib/python3.6/site-packages/')\r\n```\r\nTo add system folder of python modules to sys.path\r\nBesides that line I only have those on .vimrc:\r\n```\r\nset laststatus=2\r\nset showtabline=2\r\nset noshowmode\r\nset t_Co=256\r\n```\r\nI also tried to uninstall the vim-powerline package and use this code to load powerline:\r\n```\r\npython3 from powerline.vim import setup as powerline_setup\r\npython3 powerline_setup()\r\npython3 del powerline_setup\r\n```\r\nThe result is the same, it stops working when activating a virtualenv and give a module not found error.\r\nI just don't understand what happened after the update. Is specifically from the distro package or am I missing some configuration on .vimrc?\r\n\r\nThanks in advance!\r\n"}}
{"actor":{"display_login":"rjsilvestre"}}