ModuleNotFoundError: No module named qdarkstyle.colorsystem [Python]


I happened to update my package of spyder to v5 from v4, I got the below error message,

Traceback (most recent call last):
  File "/home/c2c/anaconda3/envs/py37/bin/spyder", line 11, in <module>
  File "/home/c2c/anaconda3/envs/py37/lib/python3.8
  /site-packages/spyder/app/", line 210, in main
    from import mainwindow
    from spyder.utils.palette import QStylePalette, SpyderPalette
  File "/home/c2c/anaconda3/envs/py37/lib/python3.8
  /site-packages/spyder/utils/", line 12, in <module>
    from qdarkstyle.colorsystem import Blue, Gray

ModuleNotFoundError: No module named 'qdarkstyle.colorsystem'


It looks like there is some issue that needs a dev fix, the way I was able to get back things to work was reverting back to the previous version of the package spyder,

% conda install spyder=4.2.5

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail:

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap