10
After you add the directory to your PATH
, close and reopen Command Prompt. This will make the changes to PATH
available to your current Command Prompt session.
36
If you run it in the linux, pls install sqlite3 cli firstly
sudo apt-get install sqlite3 libsqlite3-dev
- [Django]-How to use if/else condition on Django Templates?
- [Django]-Can I make an admin field not required in Django without creating a form?
- [Django]-TypeError: count() takes exactly one argument
6
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 messageSQLite version 3.8.10.2 2015-05-20 18:17:19 ...
.
- [Django]-Django render_to_string missing information
- [Django]-Django-tables2: How to use accessor to bring in foreign columns?
- [Django]-Accessing function as attribute in a Python class
4
If you are on linux ditribution:
-
Frist install sqlite3 with this command
sudo apt-get install sqlite
via terminal. -
After that, use this one command to access sql shell
python manage.py dbshell
.
- [Django]-How can I avoid "Using selector: EpollSelector" log message in Django?
- [Django]-Django – Highlight Navigation based on current page?
- [Django]-How to make FileField in django optional?
0
I had same issue with visual studio code, I re-launched the application and it worked fine .
- [Django]-Python format datetime with "st", "nd", "rd", "th" (english ordinal suffix) like PHP's "S"
- [Django]-Django admin foreign key field data add
- [Django]-Loop backwards using django template
-1
One solution that works for me is that I saved the downloaded files to the folder where the file manage.py is located.
- [Django]-Django rest framework datetime field format
- [Django]-I am getting "Invalid command 'WSGIScriptAlias' " error while starting Apache
- [Django]-Django update table using data from another table
Source:stackexchange.com