我已经安装了该程序sqlite以查看具有该扩展名的文件类型,但是即使在阅读了它的帮助文档和联机帮助页之后,我仍然对如何让它显示我想要的内容感到困惑。那么你究竟是如何使用这个程序的呢?我只想正确查看该扩展名的文件。
我正在使用 GNOME 3.20 运行 Ubuntu GNOME 16.04。
我正在像这样安装 SQLite SQLite - 安装
我收到此错误,有人知道该怎么做吗?
anonymous@Anonymous:~/sqlite-autoconf-3080001$ make install
make[1]: Entering directory `/home/anonymous/sqlite-autoconf-3080001'
/bin/mkdir -p '/usr/local/lib'
/bin/bash ./libtool --mode=install /usr/bin/install -c libsqlite3.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libsqlite3.so.0.8.6 /usr/local/lib/libsqlite3.so.0.8.6
/usr/bin/install: cannot create regular file `/usr/local/lib/libsqlite3.so.0.8.6': Permission denied
make[1]: *** [install-libLTLIBRARIES] Error 1
make[1]: Leaving directory `/home/anonymous/sqlite-autoconf-3080001'
make: *** [install-am] Error 2
anonymous@Anonymous:~/sqlite-autoconf-3080001$
Run Code Online (Sandbox Code Playgroud)
抱歉,我不知道正确的放入方式
在另一台设备上安装一个导出 SQLite v3 数据库的应用程序。我希望阅读和更改该 .db 文件的内容。尝试过 Libre Office Base,没有任何乐趣。哪些应用程序将读取该 .db 文件并对其进行编辑?希望有一个 GUI 应用程序。
我的 GPS 使用 SQLite 数据库。我想使用 OpenOffice 访问这些数据,以查看数据条目之间的关系。有没有办法用 OpenOffice 安装 SQLite?
我想访问这个数据库,我用它来访问 SQLite 数据库: sqlite3 .mozilla/firefox/profile_name/places.sqlite
我想对这个数据库执行并将输出存储在文本文件中的查询是 SELECT moz_places.url FROM moz_places
我怎么做?
操作系统:Ubuntu 12.04 LTS
$sudo apt-get install libsqlite3-dev
The following packages have unmet dependencies: libsqlite3-dev : Depends: libsqlite3-0 (=3.7.9-2ubuntu1) but 3.7.9-2ubuntu1.1 is to be installed
$sudo apt-get install libsqlite3-0
Building dependency tree
Reading state information...
Done libsqlite3-0 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 103 not upgraded.
Run Code Online (Sandbox Code Playgroud)
我也尝试在https://launchpad.net/ubuntu/raring/i386/libsqlite3-dev/3.7.15-1上下载最新的软件包
并已阅读:https : //getsatisfaction.com/jolicloud/topics/installing_libsqlite3_dev_doesnt_work
Ubuntu 响应:“无法安装 libc6:i386”或“不可统计...”
我在我的机器上使用Ubuntu 12.04 LTS和Skype 4.3。我从我机器上的位置取了一个名为main.db的文件~/.Skype/SKYPEUSERNAME/
现在我想查看该文件中每个联系人的聊天记录。为此,我安装了Sqliteman,但仍然无法查看 chatr 历史记录。有人可以为此问题提供最简单但有效的解决方案吗?提前致谢。
我正在尝试将我的 SQLite 版本更新到 3.24 或更高版本,以便 Python 应用程序可以使用新的“UPSERT”查询。我已经尝试了几个小时来做到这一点,但收效甚微。它拒绝更新过去3.22。
我尝试过:
使用 apt 安装和重新安装 sqlite/libsqlite3-dev(以及它的各种版本)
从启动板下载包(例如 https://launchpad.net/ubuntu/+source/sqlite3/3.26.0-2)并尝试安装它们
使用 Python pip 尝试更新 sqlite3
添加一些 PPA 存储库以尝试从那里获取它
从谷歌找到的其他各种建议
我没有尝试过的:
是否可以在 Ubuntu 18.04 上安装 SQLite 3.24+ 版本?如果是这样,是从源代码构建的唯一方法还是有一种简单的方法可以通过 apt(或类似的)获取更新的版本?
我正在开发这个程序,出于某种原因,我不断收到这个错误。这是 Ubuntu 导致的错误,还是我的代码中的某些内容导致程序崩溃?
我正在访问数据库并尝试从输出中删除以下字符:和,通过value.translate(dictionary_of_bad_characters). 这就是我得到错误的地方。
def get_data(plu): # Get the data needed
global value # Set the variable value to global
conn = sqlite3.connect('plus.sqlite') # Connect to the sqlite3 database
cursor = conn.cursor() # Set cursor as the cursor for plus.sqlite
results = cursor.execute('SELECT value FROM plus WHERE plu=?', [plu])
# Above code gets the data value for value with the PLU of plu
value = results.fetchone() # Get the results of value
data = [row[0] for row …Run Code Online (Sandbox Code Playgroud) 我在 Ubuntu 12.04 上安装 SpatiaLite 3 时遇到了一些问题,这些是我执行的步骤:
1) sudo apt-get install libsqlite3-dev libgeos-dev
2) libspatialite-3.0.0-stable$ ./configure
结果: configure: error: cannot find proj_api.h, bailing out
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for …Run Code Online (Sandbox Code Playgroud) sqlite ×10
python ×2
sqlite3 ×2
12.04 ×1
18.04 ×1
command-line ×1
database ×1
file-format ×1
installation ×1
python3 ×1
ruby ×1
skype ×1