Python 创建超级用户时发生数据库锁定错误
此错误在输入密码后显示Python 创建超级用户时发生数据库锁定错误,python,django,Python,Django,此错误在输入密码后显示 python manage.py createsuperuser 如何解决错误消息似乎很清楚,其他进程已锁定数据库。您需要找到该进程并使其释放锁。 Traceback (most recent call last): File "C:\lib\site-packages\django\db\backends\utils.py", line 84, in _execute return self.cursor.execute(sql, p
python manage.py createsuperuser
如何解决错误消息似乎很清楚,其他进程已锁定数据库。您需要找到该进程并使其释放锁。
Traceback (most recent call last):
File "C:\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "\lib\site-packages\django\db\backends\sqlite3\base.py", line 383, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: database is locked