EAF安装成功却无法使用,请教各位大佬

系统信息: Manjaro Linux, Xfce桌面, emacs 28.2

错误信息如下(总是提示找不到sexpdata这个包): Process eaf exited abnormally with code 1 Traceback (most recent call last): File “/home/pz/.emacs.d/site-lisp/emacs-application-framework/eaf.py”, line 30, in from core.utils import PostGui, eval_in_emacs, get_emacs_var, init_epc_client, close_epc_client, message_to_emacs, get_emacs_vars, get_emacs_config_dir File “/home/pz/Data/.emacs.d/site-lisp/emacs-application-framework/core/utils.py”, line 24, in import sexpdata ModuleNotFoundError: No module named ‘sexpdata’

Process eaf exited abnormally with code 1

emacs显示安装EAF成功: [EAF] Installing dependencies for the selected applications

[EAF] Please always ensure the following config are added to your init.el: (require 'eaf-file-browser) (require 'eaf-2048) (require 'eaf-mindmap) (require 'eaf-camera) (require 'eaf-demo) (require 'eaf-rss-reader) (require 'eaf-git) (require 'eaf-browser) (require 'eaf-file-manager) (require 'eaf-terminal) (require 'eaf-js-video-player) (require 'eaf-markdown-previewer) (require 'eaf-image-viewer) (require 'eaf-vue-demo) (require 'eaf-org-previewer) (require 'eaf-markmap) (require 'eaf-music-player) (require 'eaf-pyqterminal) (require 'eaf-map) (require 'eaf-netease-cloud-music) (require 'eaf-system-monitor) (require 'eaf-file-sender) (require 'eaf-airshare) (require 'eaf-jupyter) (require 'eaf-vue-tailwindcss) (require 'eaf-video-player) (require 'eaf-pdf-viewer) [EAF] Installation SUCCESS! [EAF] ------------------------------------------ [EAF] install-eaf.py finished.

[EAF] Please run ‘git pull ; ./install-eaf.py’ (M-x eaf-install-and-update) to update EAF, applications and their dependencies. [EAF] Use the flag ‘–install-new-apps’ to install previously uninstalled or new apps.

系统上已经安装了psexdata了: pip3 list Package Version


cffi 1.15.1 epc 0.0.5 greenlet 0.4.13 hpy 0.0.4.dev179+g9b5d200 lxml 4.9.2 pip 23.1.2 readline 6.2.4.1 setuptools 58.1.0 sexpdata 1.0.1 tld 0.13

你是不是用了 anaconda pyvenv pypy3 这样的包?

可以检查一下自己是不是有虚拟环境

你可能用了pip或者anaconda之类的,你改path,然后用pacman安装python包,比如sexpdata就是python-sexpdata。还有好几个的,你自己看看什么包没有给安装上,一步之遥了

少了 sexpdata 依赖

1 个赞

又试了下

 yay  -S python-sexpdata
....
 ==> 错误: 在 build() 中发生一个错误。
    正在放弃...
- -> 生成时出错: python-sexpdata-exit status 4
....

(1/1) Arming ConditionNeedsUpdate...
 -> 无法安装以下软件包, 需要手动介入处理:
python-sexpdata - exit status 4

我的 manjaro 也是这样的情况, 陆陆续续 试了多次, 现在放弃了, manjaro 可能不适用, 我的别的几台 archlinux 都没有这样的情况, 找时间把 manjaro 换成 archlinux 吧

你应该把所有错误都粘贴出来

已解决,

在别的页面, 有看到, 提到说 “pyenv” 环境没有 配置好, 具体不明白, 想着把 pyenv 卸载清除了,

就已正常使用了

1 个赞