Spyder 5 ModuleNotFoundError [英] Spyder 5 ModuleNotFoundError

查看:52
本文介绍了Spyder 5 ModuleNotFoundError的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将我的 spyder4 更新为 spyder5:

I have just updated my spyder4 to spyder5 as:

conda 更新 spyder

当我尝试启动 spyder 时,它给出了一个错误:No module named 'qdarkstyle.colorsystem'

as I try to launch spyder it gives an Error : No module named 'qdarkstyle.colorsystem'

这里是完整的信息:

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'

如果您对此有任何评论,我将不胜感激.

I would appreciate any comments on it.

推荐答案

遇到类似问题.我恢复到以前的版本,直到开发人员解决了问题.

Met with similar problem. I reverted back to previous version till the devs sort the problem out.

conda install spyder=4.2.5

这篇关于Spyder 5 ModuleNotFoundError的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆