[django] "CommandError: You appear not to have the 'sqlite3' program installed or on your path"
2017. 5. 19. 01:16ㆍ카테고리 없음
django에서 DB 마이그레이션을 하고!
확인하려고
./manage.py dbshell
을 날렸는데
다음과 같은 에러가 난다면 당황하지 않고!
"CommandError: You appear not to have the 'sqlite3' program installed or on your path".
settings.py 파일에
- For PostgreSQL, this runs the
psql
command-line client. - For MySQL, this runs the
mysql
command-line client. - For SQLite, this runs the
sqlite3
command-line client.
PATH 설정을 해주면 되고!!
아니며 나처럼
sudo apt-get install sqlite3
이 안깔려 있어서 그러니 설치해주자!