ModuleNotFoundError: No module named qdarkstyle.colorsystem [Python]


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>
    sys.exit(main())
  File "/home/c2c/anaconda3/envs/py37/lib/python3.8
  /site-packages/spyder/app/start.py", line 210, in main
    from spyder.app import mainwindow
  ...
    from spyder.utils.palette import QStylePalette, SpyderPalette
  File "/home/c2c/anaconda3/envs/py37/lib/python3.8
  /site-packages/spyder/utils/palette.py", line 12, in 
    from qdarkstyle.colorsystem import Blue, Gray

ModuleNotFoundError: No module named 'qdarkstyle.colorsystem'

Solution

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

Advertisements
Try Out Code2care Dev Tools:

Advertisements



Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Advertisements


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR - https://donate.unhcr.org/in/en-in/ukraine-emergency