Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

it seems lt only applies the system python #46

Open
kenny-evitt opened this issue Jan 6, 2016 · 3 comments
Open

it seems lt only applies the system python #46

kenny-evitt opened this issue Jan 6, 2016 · 3 comments

Comments

@kenny-evitt
Copy link

Copied from the original comment on LightTable/LightTable#1734:

Hi,

I use pyenv to manage my python, and I found that it seems different between my terminal python and lt python.

lt use /bin/python, is it right? Could I customize the python path?

@kenny-evitt
Copy link
Author

@lufeihaidao @yasirs From this entry in a recent thread on the Light Table forum, it was suggested that you specify the Python executable by adding a line similar to the following to your user.behaviors file in Light Table:

[:app :lt.plugins.python/python-exe "c:\\Python27\\python.exe"]

@MortalCatalyst
Copy link

My question would be did you start LT from the terminal where an active virtualenv was? LT should then open and use those variables.

so if on linux I am ubuntu create an alias to the lighttable folder mine i moved to opt
put this in .bashrc

alias light='/opt/lighttable/LightTable'

then start with 'light' from within the virtualenv

@kenny-evitt
Copy link
Author

@lufeihaidao @yasirs See the comment by @MortalCatalyst for something to try (that seems much more informed about Python).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants