Hi Laura,
Please open Terminal.app and run there
spyder --reset
That should fix your problem.
Cheers,
Carlos
El 3/11/20 a las 4:43 a. m., Laura escribió:
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/spyderlib/f587077a-8500-4554-87ac-c0c5ecbbb160n%40googlegroups.com
<https://groups.google.com/d/msgid/spyderlib/f587077a-8500-4554-87ac-c0c5ecbbb160n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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/1421d04c-7b75-b720-60ab-2dd9ada34413%40gmail.com.