Tkinter/tkinter Autocomplete

In Sublime Text 3 I'm using a package for auto completion with Jedi. The thing is that for Tkinter which is for Python 2.x the auto complete works but for tkinter however (Python 3.x) it does not.

I guess I am missing something. Any idea?

EDIT 1:

Found the same problem.

https://github.com/davidhalter/jedi-vim/issues/202

EDIT 2:

https://github.com/davidhalter/jedi/issues/583 < < this explains it

Waiting for the response here https://github.com/srusskih/SublimeJEDI/issues/187

Tkinter/tkinter Autocomplete

1 comments · 75% upvoted · other discussions

comments

rfajfar [OP]

[SOLVED]

The problem was I didn't set the default python interpreter for the project to be python3 instead of python. You can do this by adding a bit of code to your .sublime-project file:

"settings": { "python_interpreter" : "/usr/bin/python3" }

Reference: https://github.com/srusskih/SublimeJEDI/issues/187