我在外地MacOS(10.14)电脑上 安装了anaconda3,默认带的是python3.8,
这个版本打开Spyder(4.1.5)正常,后来我自己创建了一个python2.7的环境
安装Spyder(4.0.1)后无法打开,报错信息为
Traceback (most recent call last):
File "/Users/sx004546/opt/anaconda3/envs/python27/lib/python2.7/site-packages/spyder/app/mainwindow.py", line 3711, in main
mainwindow = run_spyder(app, options, args)
File "/Users/sx004546/opt/anaconda3/envs/python27/lib/python2.7/site-packages/spyder/app/mainwindow.py", line 3550, in run_spyder
main = MainWindow(options)
File "/Users/sx004546/opt/anaconda3/envs/python27/lib/python2.7/site-packages/spyder/app/mainwindow.py", line 426, in __init__
from spyder.preferences.runconfig import RunConfigPage
File "/Users/sx004546/opt/anaconda3/envs/python27/lib/python2.7/site-packages/spyder/preferences/runconfig.py", line 482, in <module>
class RunConfigPage(GeneralConfigPage):
File "/Users/sx004546/opt/anaconda3/envs/python27/lib/python2.7/site-packages/spyder/preferences/runconfig.py", line 487, in RunConfigPage
ICON = ima.icon('run')
File "/Users/sx004546/opt/anaconda3/envs/python27/lib/python2.7/site-packages/spyder/utils/icon_manager.py", line 394, in icon
directory=_resource['directory'])
File "/Users/sx004546/opt/anaconda3/envs/python27/lib/python2.7/site-packages/qtawesome/__init__.py", line 178, in load_font
return _instance().load_font(prefix, ttf_filename, charmap_filename, directory)
File "/Users/sx004546/opt/anaconda3/envs/python27/lib/python2.7/site-packages/qtawesome/__init__.py", line 54, in _instance
'materialdesignicons-webfont-charmap.json')
File "/Users/sx004546/opt/anaconda3/envs/python27/lib/python2.7/site-packages/qtawesome/iconic_font.py", line 206, in __init__
super().__init__()
TypeError: super() takes at least 1 argument (0 given)
同时 还有提示让用
Spyder --reset
的指令让恢复默认设置,也没有用
望高人相助