pyenv-mode icon indicating copy to clipboard operation
pyenv-mode copied to clipboard

Pyenv over TRAMP: Point pyenv to host machine

Open hakanyi opened this issue 5 years ago • 1 comments

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!

hakanyi avatar Jul 31 '20 08:07 hakanyi

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.

vignesh117 avatar Mar 08 '21 18:03 vignesh117