I’m trying to install Emacs Application Framework, but it requires PyQt6. Is this available in 22.05 or even in unstable?
https://github.com/emacs-eaf/emacs-application-framework/wiki/NixOS
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.
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
pyqt6 sip qtpy qt6.qtwebengine epc lxml # for eaf
qrcode # eaf-file-browser
pysocks # eaf-browser
pymupdf # eaf-pdf-viewer
pypinyin # eaf-file-manager
psutil # eaf-system-monitor
retry # eaf-markdown-previewer
markdown
python-with-my-packages = unstable.python3.withPackages my-python-packages;
Now I’m stuck on a new problem;)
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)
ok, so that’s the confusion;)
I need both qt6.qtwebengine and pyqt6-webengine.
Can’t by dyslectic here;)
Great, thanks, it works;)