Traceback (most recent call last):

 "C:\Users\YOGESH\Anaconda3\lib\site-packages\spyder\plugins\__init__.py", line 515, in <lambda>
toggled=lambda checked: self.toggle_view(checked),

 "C:\Users\YOGESH\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole.py", line 771, in toggle_view
self.create_new_client(give_focus=False)

 "C:\Users\YOGESH\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1111, in create_new_client
self.register_client(client)

 "C:\Users\YOGESH\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1307, in register_client
self.main.historylog.add_history(client.history_filename)

 "C:\Users\YOGESH\Anaconda3\lib\site-packages\spyder\plugins\history.py", line 240, in add_history
encoding.write(text, filename)

 "C:\Users\YOGESH\Anaconda3\lib\site-packages\spyder\utils\encoding.py", line 233, in write
with open(filename, mode) as textfile:PermissionError: [Errno 13] Permission denied: 'C:\\Users\\YOGESH\\.spyder-py3\\history.py'
Traceback (most recent call last):


 "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/shelve.py", line 111, in __getitem__

value = self.cache[key]
KeyError: 'd7506be8fd0043d2cbf09070321c5ca97ce42133919bfd15d0801cb8df1c3c64'
