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

后端 未结 8 508

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:06

    TO ANY WINDOWS USERS:

    I got the same error while creating my first django project. I couldn't use sudo on windows, so the command python manage.py runserver only worked when I ran my terminal as administrator.

提交回复
热议问题