SublimeLinter could not determine shell PATH

2.2k views Asked by At

Here's the error message I get each time I start Sublime Text:

SublimeLinter could not determine your shell PATH. It is unlikely that any linters will work.

Please see the troubleshooting guide for info on how to debug PATH problems.

I'm running Sublime Text 3 on Ubuntu 12.04.

How can I overcome this error?

4

There are 4 answers

0
CambridgeMike On

I found that upgrading SublimeLinter to version 3.0.35 fixed the problem for me!

0
Cheng On

None of the solutions above worked for me, and here is what I did:

  1. Press command + shift + p or ctrl + shift +p and enter "sublimelinter settings" and select SublimeLinter Settings - User
  2. Scroll down until you see the paths section, here is mine:
    "paths": {
         "linux": [],
         "osx": 
               "/Users/cheng/.nvm/versions/node/v5.6.0/bin/",
               "/usr/local/bin/",
               "/bin/"
         ],
         "windows": []
     },

I have many different versions of node and python installed on my machine, so I just specify which version of those I want to use. Also, the last /bin/ is used when sublimelinter complains about not being able to find the shell path.

0
Eliza A On

I had the same problem, I had to set the path in my Sublime Linter User preferences, I referred to the help provided below.

http://sublimelinter.readthedocs.org/en/latest/troubleshooting.html#debugging-path-problems

0
feiyuw On

I had the same problem, and after I add an empty ~/.bash_profile, it was resolved.

Hope it can help you.