manateelazycat / holo-layer

HoloLayer is a multimedia layer plugin designed specifically for Emacs
GNU General Public License v3.0
123 stars 18 forks source link

pyenv conflict? #33

Closed wolf-coder closed 8 months ago

wolf-coder commented 8 months ago

────────────────── config: ──────────────────────────

  (add-to-list 'load-path "/home/cuore-pc/.emacs.d/holo-layer")
  (require 'holo-layer)
  (setq holo-layer-python-command "/home/cuore-pc/.pyenv/shims/python3")
  (setq holo-layer-enable-debug t)
  (setq holo-layer-enable-cursor-animatio t)
  (setq holo-layer-enable-indent-rainbow t)
  (holo-layer-enable)

───────────────── *holo-layer* ─────────────────────────

> Process *holo-layer* exited abnormally with code 1
> "/home/cuore-pc/.pyenv/shims/python3": not in executable format: file format not recognized
> No executable file specified.
> Use the "file" or "exec-file" command.
> No stack.

─────────────────────────────────────────────────

λ pyenv version
3.9.0 (set by /home/cuore-pc/.pyenv/version)
λ which python3
/home/cuore-pc/.pyenv/shims/python3
wolf-coder commented 8 months ago

Turned out to be a gdb - pyenv issue. Setting holo-layer-python-command to ~/.pyenv/versions/<python version>/bin/<python version>