Sublime Forum

Wrong path in Ubuntu 18.04

#1

I just installed sublime text in ubuntu 18.04. I added some packages like anaconda, themes, color scheme and sidebar. I’m trying to use python. Every time I try to build the code I get:

bash: python: command not found
[path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin]

I think this must be the wrong path but I can’t figure out how to change it. I haven’t had any trouble using sublime text for html etc. I think sublime isn’t looking at the right directory maybe? Not really sure.

0 Likes

#3

If you type python in a terminal, what happens?

0 Likes

#4

Python 3.6.5 (default, Apr 1 2018, 05:46:30)
[GCC 7.3.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

0 Likes

#5

What about which python?

0 Likes

#6

Got the same issue when adding julia language build, but sublime run from terminal works.

0 Likes