Sublime Forum

Why is my PATH empty? [Windows 7]

#1

For some reason, when I do

import os; os.environ"PATH"]

from the Python console in ST3, it’s an empty string. I have set my PATH the normal Windows GUI way (Control Panel > System or My Computer > Properties), and everything else that is supposed to use PATH gets it correctly (e.g. console Python, IPython, ConEmu).

More mystifying still,

os.environ

shows that ST3 is picking up all my other environment variables and that they are populated correctly. Only PATH is blank. I’m totally at a loss here. Does anyone have any idea why ST3 is behaving this way?

0 Likes

#2

github.com/int3h/SublimeFixMacPath was the culprit.

0 Likes