There is a problem with dependencies in Spyder which was installed via Mageia Welcome. $ spyder3 Traceback (most recent call last): File "/usr/bin/spyder3", line 3, in <module> start.main() File "/usr/lib/python3.8/site-packages/spyder/app/start.py", line 178, in main from spyder.app import mainwindow File "/usr/lib/python3.8/site-packages/spyder/app/mainwindow.py", line 49, in <module> requirements.check_spyder_kernels() File "/usr/lib/python3.8/site-packages/spyder/requirements.py", line 64, in check_spyder_kernels show_warning("Please check Spyder installation requirements:\n" File "/usr/lib/python3.8/site-packages/spyder/requirements.py", line 24, in show_warning raise RuntimeError(message) RuntimeError: Please check Spyder installation requirements: spyder-kernels < 1.0 is required (found 1.9.4).
Thank you for reporting this. I was going to try it, but ... 162pkgs, 1/3Gb download, perhaps not! FWIW $ urpmq --requires spyder python(abi)[== 3.8] python3-qt5 python3dist(cloudpickle) python3dist(jedi) python3dist(nbconvert) python3dist(pep8) python3dist(pickleshare) python3dist(psutil) python3dist(pycodestyle) python3dist(pyflakes) python3dist(pygments) python3dist(pylint) python3dist(pyzmq) python3dist(qtawesome) python3dist(qtconsole) python3dist(qtpy) python3dist(rope) python3dist(sphinx) python3dist(spyder-kernels) but the requires-recursive list is very long (694), including texlive. Spyder has no evident maintainer, so assigning this globally. CC'ing philippem (registered) and DavidG (committer version: 3.3.6).
Assignee: bugsquad => pkg-bugsSource RPM: (none) => spyder-3.3.6-2.mga8.src.rpmCC: (none) => geiger.david68210, makowski.mageia
so we need to update spyder to 4.x 4.2.1 is the latest stable.
And also python-spyder-kernels to latest 1.10.1.
Please test from Core/Updates_testing repo spyder-4.2.1-1.mga8 and python-spyder-kernels-1.10.1-1.mga8.
[test@localhost ~]$ spyder Traceback (most recent call last): File "/usr/bin/spyder", line 3, in <module> start.main() File "/usr/lib/python3.8/site-packages/spyder/app/start.py", line 209, in main from spyder.app import mainwindow File "/usr/lib/python3.8/site-packages/spyder/app/mainwindow.py", line 67, in <module> import qdarkstyle ModuleNotFoundError: No module named 'qdarkstyle' [test@localhost ~]$ pip install qdarkstyle Defaulting to user installation because normal site-packages is not writeable Collecting qdarkstyle Using cached QDarkStyle-2.8.1-py2.py3-none-any.whl (217 kB) Requirement already satisfied: helpdev>=0.6.10 in ./.local/lib/python3.8/site-packages (from qdarkstyle) (0.7.1) Requirement already satisfied: qtpy>=1.9 in /usr/lib/python3.8/site-packages (from qdarkstyle) (1.9.0) Installing collected packages: qdarkstyle Successfully installed qdarkstyle-2.8.1 [test@localhost ~]$ spyder Traceback (most recent call last): File "/usr/bin/spyder", line 3, in <module> start.main() File "/usr/lib/python3.8/site-packages/spyder/app/start.py", line 209, in main from spyder.app import mainwindow File "/usr/lib/python3.8/site-packages/spyder/app/mainwindow.py", line 67, in <module> import qdarkstyle ModuleNotFoundError: No module named 'qdarkstyle'
python3-qdarkstyle imported on Cauldron, please test next spyder update!
ModuleNotFoundError: No module named 'diff_match_patch'
So ok next spyder-4.2.1-1.2.mga8 update should added all missing required dependencies, please test.
Nice. For now, it starts. Will be nice to add python3-keyring as dependecie too. But there is another message inside: You have missing dependencies! # Mandatory: jedi =0.17.2 : 0.18.0 (NOK) parso =0.7.0 : 0.8.1 (NOK) pyls_spyder >=0.3.0 : 0.2.1 (NOK) qtawesome >=0.5.7 : 0.5.6 (NOK) qtconsole >=5.0.1 : 4.6.0 (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.
So just update pyls_spyder, qtawesome and qtconsole. Also added missing python3-keyring and python3-jsonschema.
Thanks, looks good
Good good :) So a freeze move is now requested to move packages to Core/Release repo!
So closing this bug now as fixed!
Resolution: (none) => FIXEDStatus: NEW => RESOLVED
I just installed Spyder from the Mageia Welcome app onto a fully updated Mageia 8. The first screen after clicking the Launch button contained a dialog box with Error: You have missing dependencies #Mandatory jedi =0.17.2 : 0.18.0 (NOK) parso =0.7.0 : 0.8.1 (NOK) A following dialog box stated Spyder 5.2.2 is available, and suggested please go to _this page_ to download it. There was also a filled-in block box to check for updates at startup. It is bad enough getting a missing dependencies message for a fresh install onto a new Mageia 8 installation on a freshly reformatted drive, but it is pretty snarky for messages to appear as if they come from developers outside of Mageia giving the impression that they have captured and taken over the Mageia Welcome application and software installation process. Not cool at all.
CC: (none) => kmmos1
By the way, considering the current (14 Feb 2022) work being done with python in Mageia, I decided to wait a bit until that settles down before using Spyder. However, I would like to check out, and maybe use, a newer Python IDE.