Sublime Forum

Add a path to python specific version

#1

hello,

I am running sublime text under linux mint 17. I have managed to install sublimeREPL so now I can open a interactive mode of the python interpreter
by: Tools -> SublimeRepl -> Python -> Python and the interactive mode of the python interpreter opens python 3.6.1 console.

I have this python 3.6.1 at:

$ which python3
/usr/local/bin/python3

the problem is that I can not import the ‘tkinter’ module and also other modules in this python version.

I also found out that with the command ‘/usr/bin/python3.6’ in linux terminal it starts:

Python 3.6.3 (default, Oct 6 2017, 00:00:00)
[GCC 4.8.4] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

in this python version I can import all modules that I can’t import in 3.6.1 version.

my question is how can I bring Sublime Text to run the interactive interpreter by SublimeRepl exactly the 3.6.3 version?

thanks in advance

0 Likes

#2

I have solved this problem.

0 Likes