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

后端 未结 8 513

When I run

python manage.py runserver

I get this error

File \"/usr/local/lib/python2.7/dist-packages/Django-1.10.1-py2.7.egg/django

8条回答
  •  爱一瞬间的悲伤
    2020-12-10 17:00

    If you are experiencing this problem on AWS EC2 node and using apache, to solve the problem I had to:

    chown -R apache:apache project_folder
    

提交回复
热议问题