Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyenv over TRAMP: Point pyenv to host machine #33

Open
hakanyi opened this issue Jul 31, 2020 · 1 comment
Open

Pyenv over TRAMP: Point pyenv to host machine #33

hakanyi opened this issue Jul 31, 2020 · 1 comment

Comments

@hakanyi
Copy link

hakanyi commented Jul 31, 2020

I'm using pyenv-mode in Spacemacs and editing local files works perfectly fine.
However, when I'm editing a remote file via TRAMP, pyenv-mode-set results in ["sytem", "/bin/bash:", "pyenv:", "command", "not", "found"]
2020-07-31-103815_974x348_scrot

The desired behavior would be that despite editing a file remotely, the user has the option to keep pyenv locally (where e.g. my python lsp is set up).
Any ideas? Thanks in advance!

@vignesh117
Copy link

I work around this by first opening a local python file and calling pyenv-mode-set and then opening the remote file over tramp. It would be really helpful if we could set a default environment in the config, so that I can use the local pyenv for completions, formatting etc.

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

No branches or pull requests

2 participants