Hi, 
I have just installed Anaconda3 (Anaconda Navigator 1.9.12) on my macOS 
Catalina (version 10.15.7) and when I try to launch Spyder (version 4.1.4) 
via Anaconda, I get this error message : 

Traceback (most recent call last):
File "/Users/lauralan/opt/anaconda3/envs/3.8_Pytorch/bin/spyder", line 11, 
in
sys.exit(main())
File 
"/Users/lauralan/opt/anaconda3/envs/3.8_Pytorch/lib/python3.8/site-packages/spyder/app/start.py",
 
line 205, in main
mainwindow.main()
File 
"/Users/lauralan/opt/anaconda3/envs/3.8_Pytorch/lib/python3.8/site-packages/spyder/app/mainwindow.py",
 
line 3651, in main
mainwindow = run_spyder(app, options, args)
File 
"/Users/lauralan/opt/anaconda3/envs/3.8_Pytorch/lib/python3.8/site-packages/spyder/app/mainwindow.py",
 
line 3526, in run_spyder
main.setup()
File 
"/Users/lauralan/opt/anaconda3/envs/3.8_Pytorch/lib/python3.8/site-packages/spyder/app/mainwindow.py",
 
line 844, in setup
self.console = Console(self, namespace=None, exitfunc=self.closing,
File 
"/Users/lauralan/opt/anaconda3/envs/3.8_Pytorch/lib/python3.8/site-packages/spyder/plugins/console/plugin.py",
 
line 63, in __init__
self.shell = InternalShell(parent, namespace, commands, message,
File 
"/Users/lauralan/opt/anaconda3/envs/3.8_Pytorch/lib/python3.8/site-packages/spyder/plugins/console/widgets/internalshell.py",
 
line 140, in __init__
PythonShellWidget.__init__(self, parent,
File 
"/Users/lauralan/opt/anaconda3/envs/3.8_Pytorch/lib/python3.8/site-packages/spyder/plugins/console/widgets/shell.py",
 
line 646, in __init__
ShellBaseWidget.__init__(self, parent, history_filename,
File 
"/Users/lauralan/opt/anaconda3/envs/3.8_Pytorch/lib/python3.8/site-packages/spyder/plugins/console/widgets/shell.py",
 
line 71, in __init__
self.history = self.load_history()
File 
"/Users/lauralan/opt/anaconda3/envs/3.8_Pytorch/lib/python3.8/site-packages/spyder/plugins/console/widgets/shell.py",
 
line 499, in load_history
if rawhistory[1] != self.INITHISTORY[1]:
IndexError: list index out of range


What can I do to solve this problem ? I already try to reinstall Anaconda 
but it's not working. I have searched on other forum but still don't 
understand the problem..

Thanks to all :)

Laura

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/f587077a-8500-4554-87ac-c0c5ecbbb160n%40googlegroups.com.

Reply via email to