Those instructions on their site are outdated, cause it now requires PyQt6
Traceback (most recent call last):
File "/home/b0ef/.emacs.d/site-lisp/emacs-application-framework/eaf.py", line 25, in <module>
from PyQt6 import QtWebEngineWidgets as NeverUsed # noqa
ModuleNotFoundError: No module named 'PyQt6'
Process *eaf* exited abnormally with code 1
Traceback (most recent call last):
File "/home/b0ef/.emacs.d/site-lisp/emacs-application-framework/eaf.py", line 25, in <module>
from PyQt6 import QtWebEngineWidgets as NeverUsed # noqa
ModuleNotFoundError: No module named 'PyQt6'
Process *eaf* exited abnormally with code 1
I tried pyqt6 here, but that didn’t work. pyqt5 works fine.
let
my-python-packages = python-packages: with python-packages; [
pandas
requests
# for eaf
pyqt6 sip qtpy
pyqtwebengine
epc lxml
# eaf-file-browser
qrcode
# eaf-browser
pysocks
# eaf-pdf-viewer
pymupdf
# eaf-file-manager
pypinyin
# eaf-system-monitor
psutil
# eaf-markdown-previewer
retry
markdown
# other python packages you want
];
It does exist in unstable yes, not sure if it ever got backported to the last release. It may not have been straightforward to do so, as it was a bit of a saga (3+ PRs) to finally get it merged so I wouldn’t blame anyone if it wasn’t.
Process *eaf* exited abnormally with code 1
Traceback (most recent call last):\0
File "/home/b0ef/.emacs.d/site-lisp/emacs-application-framework/eaf.py", line 25, in <module>
from PyQt6 import QtWebEngineWidgets as NeverUsed # noqa
ImportError: cannot import name 'QtWebEngineWidgets' from 'PyQt6' (/nix/store/awam08nk598vvxj5v1sng0jpn7yj10kk-python3-3.10.8-env/lib/python3.10/site-packages/PyQt6/__init__.py)
pyqt-webengine is extremely heavy and thus is split out into its own separate package. If you need it, then add pyqt6-webengine to your build deps as well.