CommandError: You appear not to have the 'sqlite3' program installed or on your path

前端 未结 6 1292
耶瑟儿~
耶瑟儿~ 2021-02-13 10:01

I recently installed Django to use as a web framework and I am trying use the command python manage.py dbshell to access the database shell for SQLite as said in th

6条回答
  •  长发绾君心
    2021-02-13 10:58

    If you are on linux ditribution:

    1. Frist install sqlite3 with this command sudo apt-get install sqlite via terminal.

    2. After that, use this one command to access sql shell python manage.py dbshell.

提交回复
热议问题