How to configure python in ubuntu for Sublime Text?

In the console, Ubuntu Mate is already 2 versions of python 2.7.17 and 3.6.9

In Python3 sublime text, but in this build there is no pip.

I was able to install it, but not in the editor.

sudo apt-get install python-pip

sudo apt-get install python3-pip

How to install it in the editor to switch between the different versions?

And how to find the exe directory of globally installed versions of python?
April 19th 20 at 12:36
1 answer
April 19th 20 at 12:38
How to install it in the editor to switch between the different versions?

virtualenv

And how to find the exe directory of globally installed versions of python

You have Windows or Linux? If Linux, then:
$ which python
/usr/bin/python

$ which python3
/usr/bin/python3
@aurelio
You have Windows or Linux?


I have Ubuntu Mate
which does not work, but whereis - works

I would like all the same without virtualdev. Now in the console ubuntu python2.7.17 starts the server, but python3 is not because I can't install sqlalchemy. - Conrad44 commented on April 19th 20 at 12:41

Find more questions by tags UbuntuPython