eaf安装后无法正常使用

我在使用Ubuntu22.04,它使用wayland环境。

If you are using Wayland environment, you need to execute the command cp -r emacs-application-framework/gnome-shell/[email protected] ~/.local/share/gnome-shell/extensions and activate the Gnome-Shell plugin [email protected] in Gnome3.

根据repo上的描述,需要在Gnome3中激活[email protected]这个插件。请问这一步骤该如何操作呢?感谢!

gnome3 有个专门管扩展程序的界面,点开开关按钮就好了。

1 个赞

执行了cp -r emacs-application-framework/gnome-shell/[email protected] ~/.local/share/gnome-shell/extensions命令后,我在https://extensions.gnome.org/local/ 上没有找到相关插件,全部installed extensions如下:

ps. 感谢大神回复

我说的是系统里面这个扩展程序。

执行的命令如下:

扩展软件内未发现[email protected]

又看了一眼自己是x11还是wayland, 发现是x11

请问这是不是正常的呀,也就是说eaf可以直接用了

x11就不需要gnome-shell插件了。

1 个赞

我的也是这个问题,快捷键没有用

之前eaf用过的,好久没有更新,昨天在新买的win11 lenovo 笔记本安装,安装过程也没问题,插件都是自动安装的,发现有的快捷键是空的,有的打不开,这是怎么回事呢?摄像头、网页等都打不开,网页打开时,from PyQt6 import QtWebEngineWidgets as NeverUsed # noqa,系统路径没有安装pyqt6,是pyqt5。安装的插件不在anaconda的site-package。在C:\Users\chang\AppData\Roaming\Python\Python39\site-packages这个文件夹里,这个里面有pyqt6,是这个文件夹不在路径的问题吗? 还有一个问题是,如果想要卸载eaf重装,怎么删除干净呢?

看wiki,删除目录就重新装了

Requirement already satisfied: epc in c:\users\chang\appdata\roaming\python\python39\site-packages (0.0.5) Requirement already satisfied: sexpdata==0.0.3 in c:\users\chang\appdata\roaming\python\python39\site-packages (0.0.3) Requirement already satisfied: tld in c:\users\chang\appdata\roaming\python\python39\site-packages (0.13) Requirement already satisfied: lxml in c:\users\chang\appdata\roaming\python\python39\site-packages (4.9.2) Requirement already satisfied: pygetwindow in c:\users\chang\appdata\roaming\python\python39\site-packages (0.0.9) Requirement already satisfied: PyQt6==6.3.1 in c:\users\chang\appdata\roaming\python\python39\site-packages (6.3.1) Requirement already satisfied: PyQt6-Qt6==6.3.1 in c:\users\chang\appdata\roaming\python\python39\site-packages (6.3.1) Requirement already satisfied: PyQt6-sip in c:\users\chang\appdata\roaming\python\python39\site-packages (13.4.1) Requirement already satisfied: PyQt6-WebEngine==6.3.1 in c:\users\chang\appdata\roaming\python\python39\site-packages (6.3.1) Requirement already satisfied: PyQt6-WebEngine-Qt6==6.3.1 in c:\users\chang\appdata\roaming\python\python39\site-packages (6.3.1) Requirement already satisfied: pyrect in c:\users\chang\appdata\roaming\python\python39\site-packages (from pygetwindow) (0.2.0) From GitHub - metaescape/2048pyqt6: 2048 qt in emacs

[EAF] Updating 2048 to newest version… [EAF] Running git branch @ app\2048 [EAF] Running git symbolic-ref HEAD @ app\2048 [EAF] Running git pull origin master @ app\2048 Already up to date.

[EAF] Updating airshare to newest version… [EAF] Running git branch @ app\airshare [EAF] Running git symbolic-ref HEAD @ app\airshare [EAF] Running git pull origin master @ app\airshare Already up to date.

[EAF] Updating browser to newest version… [EAF] Running git branch @ app\browser [EAF] Running git symbolic-ref HEAD @ app\browser [EAF] Running git pull origin master @ app\browser Already up to date.

[EAF] Updating camera to newest version… [EAF] Running git branch @ app\camera [EAF] Running git symbolic-ref HEAD @ app\camera [EAF] Running git pull origin master @ app\camera Already up to date.

[EAF] Updating file-browser to newest version… [EAF] Running git branch @ app\file-browser [EAF] Running git symbolic-ref HEAD @ app\file-browser [EAF] Running git pull origin master @ app\file-browser Already up to date.

[EAF] Updating file-manager to newest version… [EAF] Running git branch @ app\file-manager [EAF] Running git symbolic-ref HEAD @ app\file-manager [EAF] Running git pull origin master @ app\file-manager Already up to date.

[EAF] Updating file-sender to newest version… [EAF] Running git branch @ app\file-sender [EAF] Running git symbolic-ref HEAD @ app\file-sender [EAF] Running git pull origin master @ app\file-sender Already up to date.

[EAF] Updating git to newest version… [EAF] Running git branch @ app\git [EAF] Running git symbolic-ref HEAD @ app\git [EAF] Running git pull origin master @ app\git Already up to date.

[EAF] Updating image-viewer to newest version… [EAF] Running git branch @ app\image-viewer [EAF] Running git symbolic-ref HEAD @ app\image-viewer [EAF] Running git pull origin master @ app\image-viewer Already up to date.

[EAF] Updating jupyter to newest version… [EAF] Running git branch @ app\jupyter [EAF] Running git symbolic-ref HEAD @ app\jupyter [EAF] Running git pull origin master @ app\jupyter Already up to date.

[EAF] Updating markdown-previewer to newest version… [EAF] Running git branch @ app\markdown-previewer [EAF] Running git symbolic-ref HEAD @ app\markdown-previewer [EAF] Running git pull origin master @ app\markdown-previewer Already up to date.

[EAF] Updating mindmap to newest version… [EAF] Running git branch @ app\mindmap [EAF] Running git symbolic-ref HEAD @ app\mindmap [EAF] Running git pull origin master @ app\mindmap Already up to date.

[EAF] Updating music-player to newest version… [EAF] Running git branch @ app\music-player [EAF] Running git symbolic-ref HEAD @ app\music-player [EAF] Running git pull origin master @ app\music-player Already up to date.

[EAF] Updating netease-cloud-music to newest version… [EAF] Running git branch @ app\netease-cloud-music [EAF] Running git symbolic-ref HEAD @ app\netease-cloud-music [EAF] Running git pull origin master @ app\netease-cloud-music Already up to date.

[EAF] Updating org-previewer to newest version… [EAF] Running git branch @ app\org-previewer [EAF] Running git symbolic-ref HEAD @ app\org-previewer [EAF] Running git pull origin master @ app\org-previewer Already up to date.

[EAF] Updating pdf-viewer to newest version… [EAF] Running git branch @ app\pdf-viewer [EAF] Running git symbolic-ref HEAD @ app\pdf-viewer [EAF] Running git pull origin master @ app\pdf-viewer Already up to date.

[EAF] Updating rss-reader to newest version… [EAF] Running git branch @ app\rss-reader [EAF] Running git symbolic-ref HEAD @ app\rss-reader [EAF] Running git pull origin master @ app\rss-reader Already up to date.

[EAF] Updating system-monitor to newest version… [EAF] Running git branch @ app\system-monitor [EAF] Running git symbolic-ref HEAD @ app\system-monitor [EAF] Running git pull origin master @ app\system-monitor Already up to date.

[EAF] Updating terminal to newest version… [EAF] Running git branch @ app\terminal [EAF] Running git symbolic-ref HEAD @ app\terminal [EAF] Running git pull origin master @ app\terminal Already up to date.

[EAF] Updating video-player to newest version… [EAF] Running git branch @ app\video-player [EAF] Running git symbolic-ref HEAD @ app\video-player [EAF] Running git pull origin master @ app\video-player Already up to date.

[EAF] Updating vue-mindmap to newest version… [EAF] Running git branch @ app\vue-mindmap [EAF] Running git symbolic-ref HEAD @ app\vue-mindmap [EAF] Running git pull origin master @ app\vue-mindmap Already up to date.

[EAF] Installing dependencies for the selected applications

[EAF] Please always ensure the following config are added to your init.el: (require 'eaf-2048) (require 'eaf-airshare) (require 'eaf-browser) (require 'eaf-camera) (require 'eaf-file-browser) (require 'eaf-file-manager) (require 'eaf-file-sender) (require 'eaf-git) (require 'eaf-image-viewer) (require 'eaf-jupyter) (require 'eaf-markdown-previewer) (require 'eaf-mindmap) (require 'eaf-music-player) (require 'eaf-netease-cloud-music) (require 'eaf-org-previewer) (require 'eaf-pdf-viewer) (require 'eaf-rss-reader) (require 'eaf-system-monitor) (require 'eaf-terminal) (require 'eaf-video-player) (require 'eaf-vue-mindmap) [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.

大猫,我是在spacemacs里安装的, (require 'org-download)

;; Drag-and-drop to dired (add-hook 'dired-mode-hook 'org-download-enable)

(require 'eaf-2048) (require 'eaf-airshare) (require 'eaf-browser) (require 'eaf-camera) (require 'eaf-file-browser) (require 'eaf-file-manager) (require 'eaf-file-sender) (require 'eaf-git) (require 'eaf-image-viewer) (require 'eaf-jupyter) (require 'eaf-markdown-previewer) (require 'eaf-mindmap) (require 'eaf-music-player) (require 'eaf-netease-cloud-music) (require 'eaf-org-previewer) (require 'eaf-pdf-viewer) (require 'eaf-rss-reader) (require 'eaf-system-monitor) (require 'eaf-terminal) (require 'eaf-video-player) (require 'eaf-vue-mindmap)

“Configuration for user code: This function is called at the very end of Spacemacs startup, after layer configuration. Put your configuration code here, except for variables that should be set before packages are loaded.” )

dotspacemacs-configuration-layers ‘( ;; ---------------------------------------------------------------- ;; Example of useful layers you may want to use right away. ;; Uncomment some layer names and press SPC f e R' (Vim style) or ;; M-m f e R’ (Emacs style) to install them. ;; ---------------------------------------------------------------- auto-completion better-defaults emacs-lisp git helm lsp markdown multiple-cursors org eaf (shell :variables shell-default-height 30 shell-default-position 'bottom) spell-checking syntax-checking version-control treemacs) 没有显示什么错误。在win11系统上。为什么不能用呢?

emacs -Q 测试 EAF, 看论坛输入框怎么测试 emacs -Q

 chang   emacs-application-framework   master ≡    python install-eaf.py

[EAF] ------------------------------------------

[EAF] Installing core dependencies

Traceback (most recent call last):

File “C:\Users\chang.emacs.d\site-lisp\emacs-application-framework\install-eaf.py”, line 496, in

main()

File “C:\Users\chang.emacs.d\site-lisp\emacs-application-framework\install-eaf.py”, line 478, in main install_core_deps(distro, deps_dict)

File “C:\Users\chang.emacs.d\site-lisp\emacs-application-framework\install-eaf.py”, line 312, in install_core_deps

install_py_deps(deps_dict["pip"][sys.platform])

File “C:\Users\chang.emacs.d\site-lisp\emacs-application-framework\install-eaf.py”, line 147, in install_py_deps

if os.path.exists(os.path.join(sysconfig.get_path("stdlib", 

sysconfig.get_default_scheme()),“EXTERNALLY-MANAGED”)):

AttributeError: module ‘sysconfig’ has no attribute ‘get_default_scheme’

想单独安装又遇到了这个,anaconda3 全面升级了也不行,心累,eaf 版本可以测试一下win11 里spacemacs 用anaconda3 python 环境安装的过程吗?

AttributeError: module ‘sysconfig’ has no attribute 'get_default_scheme’这个提示,先前安装的时候都没有,现在不知道是咋了呢

(base) C:\Users\chang>pip --version

pip 22.3.1 from C:\Users\chang\anaconda3\lib\site-packages\pip (python 3.9)

anacond3 会把包安装到appdada/roaming/python 里,里面user_site user_base 修改也出错。

eaf 的org 和 spacemacs 的org 先后顺序上也有个warning。

谢谢大猫!我想在windows 和linux 都安装上,水平太低,还老想用,呜呜

回退一个 commit 试试, sysconfig 是最新的 commit 引入的,应该是你的 python 版本比较低,没有 sysconfig.get_default_scheme()

sysconfig — Provide access to Python’s configuration information — Python 3.11.2 documentation

是anaconda3 自带的python 版本3.9.3,试着升级升不了,不想再建一个python 虚拟环境。但是我先前安装的时候没出现在这个问题。回退不行吧,是eaf-install.py 里的,sysconfig.get_default_scheme()

那你自己把 get_default_scheme() 改成 _get_default_scheme()

是改install-eaf.py 里的吗?sysconfig.py 里面已经是 _get_default_scheme()

老大,我是最好不要在anaconda3里的python 安装eaf 插件吗?

C:\Users\chang\AppData\Roaming\Python\Python39\site-packages

安装后在这个文件夹里了,pyqt6在这里

修改site.py 里的 USER_SITE和USER_BASE 后也出错?

上面这个错误不是说的没有 get_default_scheme 吗,前面没有下划线的

PyQt6_WebEngine_Qt6-6.3.1-py3-none-win_amd64.whl 可以在install-eaf.py 中加入安装包的源吗?下载的很慢~

把 pip 的源改了就行了

pip config set global.index-url https://mirrors.bfsu.edu.cn/pypi/web/simple

ERROR Error: Build failed with errors.

Error: Build failed with errors.

at C:\Users\chang\.emacs.d\site-lisp\emacs-application-framework\app\netease-cloud-music\node_modules\@vue\cli-service\lib\commands\build\index.js:207:23

at C:\Users\chang\.emacs.d\site-lisp\emacs-application-framework\app\netease-cloud-music\node_modules\webpack\lib\webpack.js:148:8

at C:\Users\chang\.emacs.d\site-lisp\emacs-application-framework\app\netease-cloud-music\node_modules\webpack\lib\HookWebpackError.js:68:3

at Hook.eval [as callAsync] (eval at create (C:\Users\chang\.emacs.d\site-lisp\emacs-application-framework\app\netease-cloud-music\node_modules\tapable\lib\HookCodeFactory.js:33:10), 

:6:1)

at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users\chang\.emacs.d\site-lisp\emacs-application-framework\app\netease-cloud-music\node_modules\tapable\lib\Hook.js:18:14)

at Cache.shutdown (C:\Users\chang\.emacs.d\site-lisp\emacs-application-framework\app\netease-cloud-music\node_modules\webpack\lib\Cache.js:150:23)

at C:\Users\chang\.emacs.d\site-lisp\emacs-application-framework\app\netease-cloud-music\node_modules\webpack\lib\Compiler.js:1225:15

at Hook.eval [as callAsync] (eval at create (C:\Users\chang\.emacs.d\site-lisp\emacs-application-framework\app\netease-cloud-music\node_modules\tapable\lib\HookCodeFactory.js:33:10), 

:6:1)

at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users\chang\.emacs.d\site-lisp\emacs-application-framework\app\netease-cloud-music\node_modules\tapable\lib\Hook.js:18:14)

at Compiler.close (C:\Users\chang\.emacs.d\site-lisp\emacs-application-framework\app\netease-cloud-music\node_modules\webpack\lib\Compiler.js:1218:23)

at C:\Users\chang\.emacs.d\site-lisp\emacs-application-framework\app\netease-cloud-music\node_modules\webpack\lib\webpack.js:147:16

at finalCallback (C:\Users\chang\.emacs.d\site-lisp\emacs-application-framework\app\netease-cloud-music\node_modules\webpack\lib\Compiler.js:441:32)

at C:\Users\chang\.emacs.d\site-lisp\emacs-application-framework\app\netease-cloud-music\node_modules\webpack\lib\Compiler.js:458:13

at Hook.eval [as callAsync] (eval at create (C:\Users\chang\.emacs.d\site-lisp\emacs-application-framework\app\netease-cloud-music\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:24:1)

at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users\chang\.emacs.d\site-lisp\emacs-application-framework\app\netease-cloud-music\node_modules\tapable\lib\Hook.js:18:14)

at onCompiled (C:\Users\chang\.emacs.d\site-lisp\emacs-application-framework\app\netease-cloud-music\node_modules\webpack\lib\Compiler.js:456:21)

Error: 1

netease-cloud-music 这个build的时候出错了

ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. spyder 5.2.2 requires pyqt5<5.13, which is not installed. spyder 5.2.2 requires pyqtwebengine<5.13, which is not installed. anaconda-project 0.11.1 requires ruamel-yaml, which is not installed. spyder 5.2.2 requires qtconsole<5.3.0,>=5.2.1, but you have qtconsole 5.4.0 which is incompatible. conda-repo-cli 1.0.20 requires clyent==1.2.1, but you have clyent 1.2.2 which is incompatible. conda-repo-cli 1.0.20 requires nbformat==5.4.0, but you have nbformat 5.5.0 which is incompatible.

这个地方不知道是安装什么缺少包或不兼容,影响吗?