wakatime / sublime-wakatime

Sublime Text 2 & 3 plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/sublime-text
BSD 3-Clause "New" or "Revised" License
525 stars 47 forks source link

Find python installation path #54

Closed pravic closed 8 years ago

pravic commented 8 years ago

From #53:

If python (both 2 & 3) installed without modifying PATH, WakaTime couldn't find it and trying to download & install on each Sublime start.

It seems, you need to look on InstallPath of suitable version.

Sublime 3, Win7 x64, python 2.7.10 x86, python 3.5.0 x64.

pravic commented 8 years ago

@pravic what folder are your python2 and python3 binaries located in?

Custom. Like f:/share/python/3/, $PATH isn't modified, scripts runned directly (via shell) or through py.exe.

alanhamlett commented 8 years ago

v4.0.20 is now checking for Python in the windows registry, but uses python from your PATH first if it exists.