解决:django.db.utils.OperationalError: unable to open database file

100 阅读1分钟

解决:django.db.utils.OperationalError: unable to open database file


最近在尝试使用Django搭建自己的个人博客,运行项目时报错

django.db.utils.OperationalError: unable to open database file

后来发现的项目权限不够,将执行权限打开即可

chmod 777 file

再重新执行

python manage.py runserver

成功!
记录一下