Sqlite only allows single-threaded connections, and it is necessary to ensure that other database connections are disconnected when performing operations
- First close the connection to the database, if you are using the DB Navigator in pycharm, just select diconnect
- If not, check the operation permissions of the database table