You are not logged in.
I've very recently fully upgraded my system (with "pacman -Syu") and installed spyder from the standard "extra" rep. But when spyder starts, it asks for the package "pylsp_ruff", which (under that name) is neither in the standard reps, nor in the AUR. There are various "python-ruff" packages, but it's not clear which (if any) would be correct here. Same for "python-lsp".
The spyder docs recommend either using conda, or installing directly from its own repository. I can do these (either of them) - miniconda3 for example is available in the AUR - but of course I'd rather have my system managed by pacman as much as I can.
What's my best option here?
Thanks!
Offline
Please start spyder from terminal and post its output so we can see the exact message.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online
Thank you.
The terminal output is
notebook: The QtWebEngineWidgets module was not found. It must be installed separately as PyQtWebEngine.
Traceback (most recent call last):
File "/usr/lib/python3.14/site-packages/qtpy/QtWebEngineWidgets.py", line 28, in <module>
from PyQt5.QtWebEngineWidgets import (
...<5 lines>...
)
ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.14/site-packages/spyder/app/find_plugins.py", line 71, in find_external_plugins
mod = importlib.import_module(entry_point.module)
File "/usr/lib/python3.14/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1406, in _gcd_import
File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
File "<frozen importlib._bootstrap>", line 1314, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1406, in _gcd_import
File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 759, in exec_module
File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
File "/usr/lib/python3.14/site-packages/spyder_notebook/__init__.py", line 11, in <module>
from spyder_notebook.notebookplugin import NotebookPlugin as PLUGIN_CLASS
File "/usr/lib/python3.14/site-packages/spyder_notebook/notebookplugin.py", line 22, in <module>
from spyder_notebook.widgets.main_widget import NotebookMainWidget
File "/usr/lib/python3.14/site-packages/spyder_notebook/widgets/main_widget.py", line 23, in <module>
from spyder_notebook.utils.servermanager import ServerManager
File "/usr/lib/python3.14/site-packages/spyder_notebook/utils/servermanager.py", line 19, in <module>
from qtpy.QtWebEngineWidgets import QWebEngineProfile
File "/usr/lib/python3.14/site-packages/qtpy/QtWebEngineWidgets.py", line 36, in <module>
raise QtModuleNotInstalledError(
...<2 lines>...
) from error
qtpy.QtModuleNotInstalledError: The QtWebEngineWidgets module was not found. It must be installed separately as PyQtWebEngine.
Wayland does not support QWindow::requestActivate()
Wayland does not support QWindow::requestActivate()
Wayland does not support QWindow::requestActivate()
Wayland does not support QWindow::requestActivate()
Wayland does not support QWindow::requestActivate()and the popup error is
You have missing dependencies!
# Mandatory:
pylsp_ruff >=2.3.0,<3.0.0 : None (NOK)
Please install them to avoid this message.
Note: Spyder could work without some of these dependencies, however to have a smooth experience when using Spyder we strongly recommend you to install all the listed missing dependencies.
Failing to install these dependencies might result in bugs. Please be sure that any found bugs are not the direct result of missing dependencies, prior to reporting a new issue.Would it be better for me to communicate this via the package page at https://archlinux.org/packages/extra/any/spyder/?
Anyway, the app starts up fine, but it's the popup error which confuses me.
Thanks again.
Offline
Online