I am very new to SQLite3 (very new). I am following a tutorial on how to create a database using SQLite3, and I am trying to run it with Git Bash. When I enter the command cd /c/sqlite in Git Bash, however, I get the error "no such file or directory". I am using PyCharm, so my python file is in users>myname>pycharmprojects (if this has anything to do with it). I am very sorry if this is a simple solution, but I am just beginning.
1 Answer
I found the solution! So Git Bash was not recognizing sqlite3 because I didn't have sqlite in the proper file directory. So what I did was create a new folder in my C: directory (where Git Bash was looking), place my python file in that folder, and execute the following commands in Git Bash:
Amari@DESKTOP-myDesktop MINGW64 ~
$ pwd
/c/Users/amari
Amari@DESKTOP-myDesktop MINGW64 ~
$ cd /c/sqlite
And there it is! It worked!
sqlite3at the Git Bash prompt?command not found:(cannot start 'sqlite3': Not found in PATH.sqlite3module comes with Python, but to access SQLite outside of Python the command-line interface would need to be installed.