This is a source code for a website project downloaded from GitHub. I wanted to run it on my own computer, and the process was quite tortuous, but it was finally done.
1. Installation process:
python2->virtualenv->django1.9.8
2. Module installation
pip install xadminpip uninstall Xadminpip install Django-simple-captchapip Install Djangoueditorpip Install Pillow
3. Run:
Python manage.py runserver
The directory where the files are located is the D drive.
Error:
django.db.utils.OperationalError:unable to open database file
Workaround: Probably refer to http://zmrenwu.com/post/3/to build the development environment, the tutorial shows the creation of the workspace in the C drive. So I moved the papers to C:\Users\admin\workspace. Run again
Python manage.py runserver
Success!
So there's not enough authority? A conjecture, not necessarily right.
Solution: django.db.utils.OperationalError:unable to open database file