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"]

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!