question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spyder 5 is broken in Anaconda

See original GitHub issue

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

Hi, After updating the spyder with anaconda to version 5, I get this error when I try running spyder :

ModuleNotFoundError: No module named ‘qdarkstyle.colorsystem’

What steps reproduce the problem?

  1. conda update spyder
  2. spyder

What is the expected output? What do you see instead?

An updated version of spyder to pop-up. Instead I get the above mentioned error.

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE
Traceback (most recent call last):
  File "/home/sina/anaconda3/envs/py37/bin/spyder", line 11, in <module>
    sys.exit(main())
  File "/home/sina/anaconda3/envs/py37/lib/python3.7/site-packages/spyder/app/start.py", line 210, in main
    from spyder.app import mainwindow
  File "/home/sina/anaconda3/envs/py37/lib/python3.7/site-packages/spyder/app/mainwindow.py", line 72, in <module>
    from spyder.app import tour
  File "/home/sina/anaconda3/envs/py37/lib/python3.7/site-packages/spyder/app/tour.py", line 37, in <module>
    from spyder.utils.qthelpers import add_actions, create_action
  File "/home/sina/anaconda3/envs/py37/lib/python3.7/site-packages/spyder/utils/qthelpers.py", line 34, in <module>
    from spyder.utils.icon_manager import ima
  File "/home/sina/anaconda3/envs/py37/lib/python3.7/site-packages/spyder/utils/icon_manager.py", line 23, in <module>
    from spyder.utils.palette import QStylePalette, SpyderPalette
  File "/home/sina/anaconda3/envs/py37/lib/python3.7/site-packages/spyder/utils/palette.py", line 12, in <module>
    from qdarkstyle.colorsystem import Blue, Gray
ModuleNotFoundError: No module named 'qdarkstyle.colorsystem'

Versions

  • Spyder version: 5.0.0
  • Python version: 3.7.7
  • Qt version: 5.9.7
  • PyQt version: 5.9.2
  • Operating System name/version: Fedora 32 (64X)

Dependencies

PASTE DEPENDENCIES HERE

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:10
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
CommanderCRMcommented, Apr 5, 2021

Same. When I try to force update qdarkstyle with conda, it says that qdarkstyle will be updated from 2.8.1 to 3.0.2, but spyder will be downgraded from 5.0.0 to 4.2.3. This is tested on a clean spyder-env environment installed according to troubleshooting guide on Spyder website. Python version is 3.9.2, Spyder is 5.0.0, Qt is 5.9.7 and PyQt is 5.9.2, Windows 10 x64.

2reactions
ccordoba12commented, Apr 5, 2021

This is a problem in the new packages released by the Anaconda team. I’ll talk to them right away so they can fix this problem as soon as possible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common Illnesses — Spyder 5 documentation
If you receive the message An error occurred while starting the kernel in the IPython Console, Spyder was unable to launch a new...
Read more >
Cannot update spyder=5.1.5 on new anaconda install
5. To workaround this problem, you need to close Spyder and run the following commands in the Anaconda Prompt (or your system terminal...
Read more >
Solved: Code completion not working in Spyder 5.1.5 after
I filed an issue on their github site and they couldn't narrow it down. Install 5.3.x was the suggestion, however Anaconda is brutally...
Read more >
Troubleshooting — Anaconda documentation
Close Spyder and relaunch it from the Anaconda Prompt: From the Start menu, open the Anaconda Prompt. At the Anaconda Prompt, enter Spyder...
Read more >
Spyder :: Anaconda.org
conda install -c anaconda spyder. Description. Spyder is a powerful scientific environment written in Python, for Python, and designed by and for scientists ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found