{"action":"created","issue":{"url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/562","repository_url":"https://api.github.com/repos/davidhalter/jedi-vim","labels_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/562/labels{/name}","comments_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/562/comments","events_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/562/events","html_url":"https://github.com/davidhalter/jedi-vim/issues/562","id":152652635,"number":562,"title":"Cannot get completion on tensorflow","user":{"login":"zhou13","id":576382,"avatar_url":"https://avatars.githubusercontent.com/u/576382?v=3","gravatar_id":"","url":"https://api.github.com/users/zhou13","html_url":"https://github.com/zhou13","followers_url":"https://api.github.com/users/zhou13/followers","following_url":"https://api.github.com/users/zhou13/following{/other_user}","gists_url":"https://api.github.com/users/zhou13/gists{/gist_id}","starred_url":"https://api.github.com/users/zhou13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhou13/subscriptions","organizations_url":"https://api.github.com/users/zhou13/orgs","repos_url":"https://api.github.com/users/zhou13/repos","events_url":"https://api.github.com/users/zhou13/events{/privacy}","received_events_url":"https://api.github.com/users/zhou13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-02T21:44:17Z","updated_at":"2016-05-02T22:21:06Z","closed_at":null,"body":"I cannot get the completion on tensorflow (https://github.com/tensorflow/tensorflow).  If I input\r\n````\r\nimport tensorflow as tf\r\ntf.\r\n````\r\n, I got \"Pattern not found\" in omni completion.  Here is my jedi-vim comfiguration:\r\n````\r\nlet g:jedi#completions_enabled = 1\r\nlet g:jedi#popup_select_first = 0\r\nlet g:jedi#show_call_signatures = 0\r\nlet g:jedi#goto_definitions_command = \"<C-]>\"\r\nlet g:jedi#force_py_version = 3\r\n````\r\n\r\nI am using python 3.5.  The strange thing is that I am able to get the completion if I execute the following script directly in python:\r\n````\r\nimport jedi\r\nsource = '''\r\nimport tensorflow as tf\r\ntf.'''\r\nscript = jedi.Script(source, 3, len('tf.'), 'example.py')\r\ncompletions = script.completions()\r\nprint(completions)\r\n````\r\n\r\nOther python modules work correctly in my vim.  Any advice how to debug this problem?"},"comment":{"url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/comments/216382749","html_url":"https://github.com/davidhalter/jedi-vim/issues/562#issuecomment-216382749","issue_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/562","id":216382749,"user":{"login":"zhou13","id":576382,"avatar_url":"https://avatars.githubusercontent.com/u/576382?v=3","gravatar_id":"","url":"https://api.github.com/users/zhou13","html_url":"https://github.com/zhou13","followers_url":"https://api.github.com/users/zhou13/followers","following_url":"https://api.github.com/users/zhou13/following{/other_user}","gists_url":"https://api.github.com/users/zhou13/gists{/gist_id}","starred_url":"https://api.github.com/users/zhou13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhou13/subscriptions","organizations_url":"https://api.github.com/users/zhou13/orgs","repos_url":"https://api.github.com/users/zhou13/repos","events_url":"https://api.github.com/users/zhou13/events{/privacy}","received_events_url":"https://api.github.com/users/zhou13/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T22:21:06Z","updated_at":"2016-05-02T22:21:06Z","body":"If you are trying to install tensorflow on python 3.5 using pip, you may want to rename tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl to tensorflow-0.8.0-cp35-cp35m-linux_x86_64.whl."}}