Closed dylon closed 4 months ago
I found the issue, my old $PATH
was cached in ~/.spacemacs.env
. It preferred my pyenv version of Python over the system version:
PATH=/home/dylon/.pyenv/shims:/home/dylon/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
I found it by printing the $PYTHONPATH
from eaf.py
:
# file: /home/dylon/.emacs.d/elpa/29.2/develop/eaf-20240206.184602/eaf.py
import sys
print(sys.path) #-> ['/home/dylon/.emacs.d/elpa/29.2/develop/eaf-20240206.184602', '/home/dylon/.pyenv/versions/3.11.3/lib/python311.zip', '/home/dylon/.pyenv/versions/3.11.3/lib/python3.11', '/home/dylon/.pyenv/versions/3.11.3/lib/python3.11/lib-dynload', '/home/dylon/.local/lib/python3.11/site-packages', '/home/dylon/.pyenv/versions/3.11.3/lib/python3.11/site-packages']
I deleted ~/.spacemacs.env
so it would be recreated, and that fixed the issue.
After enabling the
eaf
layer, I executed the commandeaf-install-and-update
. I selected which apps to install and their installations completed successfully, but upon restarting emacs I got the following error message for all eaf applications:Operating system: Arch Linux Linux Kernel: 6.7.5-arch1-1 Spacemacs branch: develop Spacemacs commit: 4a227fc94651136a8de54bcafa7d22abe1fa0295 Python Version: 3.11.7 Qt6 Version: 6.6.2 PyQt6-related packages:
Attempted reproduction of error in
ipython
:Edit: In case it is relevant, here is the Python-related config of my
~/.spacemacs
:Here is my EAF application selection: