Jun-12-2017, 07:04 PM
The script is looking into the same directory where it is located. According to this:
BASE_DIR = os.path.dirname(os.path.abspath(__file__)) db_path = os.path.join(BASE_DIR, "data.db") db = sqlite3.connect(db_path)I don't know what the installation does, but try to put the database file along with the scirpt