我现在用的标准的 GNOME3 + Wayland, 应该是 Xwayland 支持的吧?
我有尝试跑过,输出如下:
╰─ $ ./install-eaf.py
[EAF] ------------------------------------------
[EAF] Installing core dependencies
[EAF] Running sudo apt -y install wmctrl nodejs npm libglib2.0-dev python3-pyqt5 python3-sip p
ython3-pyqt5.qtwebengine python3-pygit2 @ /home/zw963/others/Git/emacs-application-framework
error: invalid option '-y'
因为我用的是 Arch, 包管理不是 apt, 所以,我注释了一些代码。
diff --git a/install-eaf.py b/install-eaf.py
old mode 100644
new mode 100755
index 6610838..082e92f
--- a/install-eaf.py
+++ b/install-eaf.py
@@ -322,3 +322,3 @@ def install_app_deps(distro, deps_dict):
print("\n[EAF] Installing dependencies for installed applications")
if not args.ignore_sys_deps and sys.platform == "linux" and len(sys_deps) > 0:
print("[EAF] Installing system dependencies")
@@ -325,1 +325,1 @@
- install_sys_deps(distro, sys_deps)
+ # install_sys_deps(distro, sys_deps)
@@ -326,3 +326,3 @@
if not args.ignore_py_deps and len(py_deps) > 0:
print("[EAF] Installing python dependencies")
install_py_deps(py_deps)
@@ -355,7 +355,7 @@ def main():
if (not args.ignore_core_deps and len(args.install) == 0) or args.install_core_deps:
print("[EAF] ------------------------------------------")
- install_core_deps(distro, deps_dict)
+ # install_core_deps(distro, deps_dict)
print("[EAF] ------------------------------------------")
if not args.install_core_deps:
再次尝试运行,有如下输出,这意味着我还有很多包需要安装,对吗?
我指的这几个?
pysocks pypinyin retrying pytaglib pymupdf psutil
[EAF] Installing application dependencies
[EAF] (1/20) airshare. Install? (Y/n): y
[EAF] (2/20) browser. Install? (Y/n): y
[EAF] (3/20) camera. Install? (Y/n): y
[EAF] (4/20) demo. Install? (Y/n): y
[EAF] (5/20) file-browser. Install? (Y/n): y
[EAF] (6/20) file-manager. Install? (Y/n): y
[EAF] (7/20) file-sender. Install? (Y/n): y
[EAF] (8/20) image-viewer. Install? (Y/n): y
[EAF] (9/20) jupyter. Install? (Y/n): y
[EAF] (10/20) markdown-previewer. Install? (Y/n): y
[EAF] (11/20) mermaid. Install? (Y/n): y
[EAF] (12/20) mindmap. Install? (Y/n): y
[EAF] (13/20) music-player. Install? (Y/n): y
[EAF] (14/20) org-previewer. Install? (Y/n): y
[EAF] (15/20) pdf-viewer. Install? (Y/n): y
[EAF] (16/20) system-monitor. Install? (Y/n): y
[EAF] (17/20) terminal. Install? (Y/n): y
[EAF] (18/20) video-player. Install? (Y/n): y
[EAF] (19/20) vue-demo. Install? (Y/n): y
[EAF] (20/20) netease-cloud-music. Install? (Y/n): y
.....
[EAF] Running pip install --user pysocks pypinyin retrying pytaglib pymupdf psutil @ /home/zw963/others/Git/emacs-application-framework
Traceback (most recent call last):
File "/home/zw963/others/Git/emacs-application-framework/./install-eaf.py", line 373, in <module>
main()
File "/home/zw963/others/Git/emacs-application-framework/./install-eaf.py", line 363, in main
install_app_deps(distro, deps_dict)
File "/home/zw963/others/Git/emacs-application-framework/./install-eaf.py", line 328, in install_app_deps
install_py_deps(py_deps)
File "/home/zw963/others/Git/emacs-application-framework/./install-eaf.py", line 113, in install_py_deps
return run_command(command)
File "/home/zw963/others/Git/emacs-application-framework/./install-eaf.py", line 85, in run_command
process = subprocess.Popen(command, env = english_env, stdin = subprocess.PIPE,
File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pip'