I have python 3.7 but in sublime text the version that loads is 2.7 in linux mint

0

I use linux mint1.8 and when I use the sublime text editor and load python to use it I get version 2.7 of python, and I already updated python on my pc to 3.7 but in the editor it remains the same, I uninstalled it and install again and stay the same.

Does anyone know why this happens?

PSDT: I'm not very knowledgeable about linux and not about programming - I'm learning.

    
asked by Abiel Arcila 22.10.2018 в 16:27
source

1 answer

0

I think you need to do the execution with the syntax:

$ python3 mi_programa.py

The execution of Python 2.X is done because as far as I know, the System has that version integrated. I do not know if Sublime Text comes with a terminal because I have not used that IDE for a long time, but if you bring the terminal, see if you can do the execution from there with that syntax.

    
answered by 22.10.2018 в 16:39