我在Mac上使用Anaconda,并且在使用python 3.8时Spyder可以正常工作。 但是,我需要python3.5,并且当我尝试在python3.5下打开Spyder时,错误消息显示为“ Spyder在上次会话错误期间崩溃” 这些是我收到的错误消息。 我尝试卸载并重新安装了几次,但没有成功。 我什至尝试格式化整个磁盘,但也不起作用。 我真的很感谢任何建议。
跟踪(最近一次通话最近):文件“ /opt/anaconda3/envs/py35/lib/python3.5/site-packages/spyder/app/mainwindow.py”,行3181,在mainmainwindow = run_spyder(应用程序,选项,参数)文件“ /opt/anaconda3/envs/py35/lib/python3.5/site-packages/spyder/app/mainwindow.py”,行3057,位于run_spydermain.setup()文件“ / opt /anaconda3/envs/py35/lib/python3.5/site-packages/spyder/app/mainwindow.py“,行896,在spyder.plugins.ipythonconsole的安装程序中,导入IPythonConsoleFile” / opt / anaconda3 / envs / py35 / lib / python3.5 / site-packages / spyder / plugins / ipythonconsole.py“,第59行,来自spyder.widgets.ipythonconsole import ClientWidgetFile” /opt/anaconda3/envs/py35/lib/python3.5/site-包/spyder/widgets/ipythonconsole/init.py”,第12行,来自.debugging import DebuggingWidgetFile“ /opt/anaconda3/envs/py35/lib/python3.5/site-packages/ spyder / widgets / ipythonconsole / debugging.py“,第17行,来自qtconsole.rich_jupyter_widget import RichJupyterWidgetFile” / opt / anaconda3 /envs/py35/lib/python3.5/site-packages/qtconsole/rich_jupyter_widget.py“,第14行,从.jupyter_widget导入JupyterWidgetFile” /opt/anaconda3/envs/py35/lib/python3.5/site-从IPython.lib.lexers输入的packages / qtconsole / jupyter_widget.py“,第20行,导入IPythonLexer,IPython3LexerFile” /opt/anaconda3/envs/py35/lib/python3.5/site-packages/IPython/init .py”,第55行,从.terminal.embed中导入embedFile“ /opt/anaconda3/envs/py35/lib/python3.5/site-packages/IPython/terminal/embed.py”,第16,从IPython.terminal.interactiveshell导入TerminalInteractiveShellFile“ /opt/anaconda3/envs/py35/lib/python3.5/site-packages/IPython/terminal/interactiveshell.py”,第32行,从.debugger导入TerminalPdb ,PdbFile“ /opt/anaconda3/envs/py35/lib/python3.5/site-packages/IPython/terminal/debugger.py”,第6行,从IPython.core.completer导入IPCompleterFile“ / opt / anaconda3” /envs/py35/lib/python3.5/site-packages/IPython/core/completer.py“,第146行,在从jedi.api中导入jediFile“ /opt/anaconda3/envs/py35/lib/python3.5/site-packages/jedi/init.py”,导入脚本,解释器, set_debug_function,\ file“ /opt/anaconda3/envs/py35/lib/python3.5/site-packages/jedi/api/init.py”,第15行,在导入parsoFile“ / opt /anaconda3/envs/py35/lib/python3.5/site-packages/parso/init.py“,第41行,来自parso.parser,导入ParserSyntaxErrorFile” / opt / anaconda3 / envs / py35 / lib / python3.5 / site-packages / parso / parser.py”,行113node_map:Dict [str,type] = {} ^ SyntaxError:语法无效