Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running Python 3 from Light Table

I am trying Light Table and learning how to use it. Overall, I like it, but I noticed that the only means of making the watches and inline evaluation work in Python programs uses Python 2.7.8, making it incompatible with some of my code. Is there a way to make it use Python 3 instead?

I looked on Google and GitHub and I couldn't find anything promising.

I am using a Mac with OS X 10.10.2. I have an installation of Python 3.4.0 that runs fine from the Terminal.

like image 353
Elias Zamaria Avatar asked Feb 04 '15 17:02

Elias Zamaria


1 Answers

I had the same problem with using a syntax that was only valid on Python3.3. - Go to Settings:User Behaviour - add the line (find the real path of your python binary): [:app :lt.plugins.python/python-exe "/usr/bin/python3.4"] - Save and test in your lighttable

It worked for me :) Hope it helps

like image 82
carocad Avatar answered Nov 04 '22 11:11

carocad