I;m new for Python. Iam using Spyder 4 with Python 3.7. When run the Spyder An error ocurred. *An error ocurred while starting the kernel* Traceback (most recent call last): File "D:\Anaconda3\lib\site‑packages\IPython\core\history.py", line 87, in catch_corrupt_db return f(self, *a, **kw) File "D:\Anaconda3\lib\site‑packages\IPython\core\history.py", line 257, in init_db end timestamp, num_cmds integer, remark text)""") sqlite3.OperationalError: database is locked
During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "D:\Anaconda3\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "D:\Anaconda3\lib\site‑packages\spyder_kernels\console\__main__.py", line 11, in start.main() File "D:\Anaconda3\lib\site‑packages\spyder_kernels\console\start.py", line 306, in main kernel.initialize() File "", line 2, in initialize File "D:\Anaconda3\lib\site‑packages\traitlets\config\application.py", line 87, in catch_config_error return method(app, *args, **kwargs) File "D:\Anaconda3\lib\site‑packages\ipykernel\kernelapp.py", line 562, in initialize self.init_kernel() File "D:\Anaconda3\lib\site‑packages\ipykernel\kernelapp.py", line 447, in init_kernel user_ns=self.user_ns, File "D:\Anaconda3\lib\site‑packages\traitlets\config\configurable.py", line 412, in instance inst = cls(*args, **kwargs) File "D:\Anaconda3\lib\site‑packages\spyder_kernels\console\kernel.py", line 33, in __init__ super(SpyderKernel, self).__init__(*args, **kwargs) File "D:\Anaconda3\lib\site‑packages\ipykernel\ipkernel.py", line 68, in __init__ kernel = self, File "D:\Anaconda3\lib\site‑packages\traitlets\config\configurable.py", line 412, in instance inst = cls(*args, **kwargs) File "D:\Anaconda3\lib\site‑packages\IPython\core\interactiveshell.py", line 661, in __init__ self.init_history() File "D:\Anaconda3\lib\site‑packages\IPython\core\interactiveshell.py", line 1802, in init_history self.history_manager = HistoryManager(shell=self, parent=self) File "D:\Anaconda3\lib\site‑packages\IPython\core\history.py", line 537, in __init__ **traits) File "D:\Anaconda3\lib\site‑packages\IPython\core\history.py", line 229, in __init__ self.init_db() File "", line 2, in init_db File "D:\Anaconda3\lib\site‑packages\IPython\core\history.py", line 113, in catch_corrupt_db os.rename(self.hist_file, newpath) PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\Hemantha\\.ipython\\profile_default\\history.sqlite' ‑> 'C:\\Users\\Hemantha\\.ipython\\profile_default\\history‑corrupt.sqlite' Please help. -- 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/5a5fde5e-d884-4635-b93a-3a9fb6f125a3o%40googlegroups.com.
