筆者在使用python 處理一sqlite3文件時,出現如下錯誤: html
sqlite3.DatabaseError: file is encrypted or is not a database
使用的sqlite文件路徑是沒有問題的,在: python
http://stackoverflow.com/questions/11456623/using-an-sqlite3-database-with-wal-enabled-pythonI just downloaded the latest version of sqlite from http://www.sqlite.org/download.html and overwrote the old .dll in my python27/DLL directory.下載最新版本的sqlite dll文件覆蓋python自帶的dll文件。