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

it seems lt only applies the system python #46

Open

Description

@kenny-evitt

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?

Activity

  1. kenny-evitt commented on Jan 6, 2016

    @kenny-evitt
    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"]
    
  2. MortalCatalyst commented on Jan 8, 2016

    @MortalCatalyst

    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

  3. kenny-evitt commented on Jan 9, 2016

    @kenny-evitt
    Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions