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

unable to find python binary #21

Closed wesbos closed 9 years ago

wesbos commented 10 years ago

I havent a student on Windows and Wakatime isn't logging any any time. He is getting the error "unable to find python binary". Any idea what this is?

alanhamlett commented 10 years ago

Yes, WakaTime needs Python to be installed on the student's computer. You can download Python here: http://www.python.org/getit/

Choose either Python 3.3.3 Windows x86 MSI Installer (32bit) or Python 3.3.3 Windows X86-64 MSI Installer (64bit) depending if the student's computer has a 32bit or 64bit CPU.

scottx commented 9 years ago

Hi, I googled but couldn't find any help. After installing Python, shouldn't we need to specify on Sublime Text the path to Python binaries? How can I do that? Thank you!

alanhamlett commented 9 years ago

The plugin should detect python if it's installed to the default location, or in your PATH variable.

scottx commented 9 years ago

Thank you Alan, I had Python for x64 installed, but my Sublime Text runs as a 32bit application, perhaps that was my problem. I uninstalled Python and after installing the version for x86, Sublime Text started running Wakatime.

alanhamlett commented 9 years ago

Ok, I'll make note of this to look into. Glad it's working now.

fabiobiondi commented 9 years ago

Same problem here on Win8.1 x64 . There is no differences between Python 64bit or 32bit because the plugin still doesn't work :(

alanhamlett commented 9 years ago

@fabiobiondi When you (and your student @wesbos) open a cmd prompt and type which python and python --version what output do you see?

fabiobiondi commented 9 years ago

Hi Alan, I solved my problem right now using "which python". I didn't remember there was another Python version on my PC and in my environment variables added by the Blackberry SDK for Cordova. So the newest Python installation didn't exist for my OS ; )

Now Wakatime seems to work. Great work dude and thanks for support : )

alanhamlett commented 9 years ago

Nice, glad you figured out the cause. I'll close this issue now.