[Python] Get Python PermissionError: [WinError 32] for the python's own history.sqlite file

Discussão em 'Python' iniciado por Stack, Março 27, 2025.

  1. Stack

    Stack Membro Participativo

    I use ipynb notebook in VS Code

    Today I started to get an error: Failed to start the Kernel. PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\UserName\.ipython\profile_default\history.sqlite' -> 'C:\Users\UserName\.ipython\profile_default\history-corrupt.sqlite'. View Jupyter log for further details.

    I got it in any notebook I tried to run

    I tried: restarting the PC, deleting 'history.sqlite' (threre is also 'history.sqlite-journal' file in the same folder, that couldn't be deleted even afer the reboot)

    Tried to run handle on these files, but didn't find any processes rhat use them

    Didn't help so far. Don't remember changing any system settings

    Continue reading...

Compartilhe esta Página