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

前端 未结 6 1281
耶瑟儿~
耶瑟儿~ 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:55

    I faced the same problem. Finally, I found a decision:

    • downloaded sqlite3.exe from https://www.sqlite.org/2015/sqlite-shell-win32-x86-3081002.zip and saved it to the another directory
    • added that directory to the environment variable PATH
    • closed and reopened CMD windows terminal
    • and just after that command sqlite3 worked for me and I saw a message SQLite version 3.8.10.2 2015-05-20 18:17:19 ....

提交回复
热议问题