I upgraded my python installation. Basically moved from /System/Library to /Library to do away with OSX SIP. I installed python from python.org using their pkg. The path gets all set up and I see latest the intended version of python through command line (when I use ‘python’ command).
As sublime build configuration uses something like “cmd”: [“python”, “-u”, “$file”] I was assuming that it will pick up the python from pat, but it didn’t and was still pointing to other python.
I could have updated the python to the absolute path and it would have worked. But this seems to be an issue to me. I am assuming this would have to do with the version of python that Sublime sees in its path rather than the one which the user sees.
I removed the sublime and installed Sublime 3 (assuming similar behavior with Sublime 2 as well) and now the correct python is being picked.
Can someone help me to understand the behavior please.
Thanks