小编Oll*_*lli的帖子

“无法确定 Firebird 客户端库的位置。”

我遇到了与此处讨论的类似问题:

\n\n

Firebird嵌入式安装问题:无法确定库

\n\n

我正在通过连接到 firebird 数据库的 ubuntu (16.04.4 LTS) 运行 python(3.5.2) 脚本。为了安装 firebird,我按照此处提供的说明进行操作:

\n\n

https://firebirdsql.org/manual/ubusetup.html

\n\n

现在,当我运行 python 代码时,会显示以下错误:

\n\n
Soft limit starts as  :-1\nSoft limit changed to :1024\nTraceback (most recent call last):\n  File "clustering_setup.py", line 30, in <module>\n    graph, posi_knoten, kanten_bewertung, auslassliste = build_netzwerk.create_graph()\n  File "/home/ubuntu/Documents/Code/build_netzwerk.py", line 113, in create_graph\n    datenbank_custom.start(config.idbf_file)\n  File "/home/ubuntu/Documents/Code/datenbank_custom.py", line 19, in start\n    con = fdb.connect(database=idbf_file, user=\'sysdba\', password=\'pass\')\n  File "/home/ubuntu/.local/lib/python3.5/site-packages/fdb/fbcore.py", line 682, in connect\n    load_api(fb_library_name)\n  File "/home/ubuntu/.local/lib/python3.5/site-packages/fdb/fbcore.py", line 181, in load_api\n    setattr(sys.modules[__name__],\'api\',fbclient_API(fb_library_name))\n  File "/home/ubuntu/.local/lib/python3.5/site-packages/fdb/ibase.py", …
Run Code Online (Sandbox Code Playgroud)

python linux ubuntu firebird client-library

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

client-library ×1

firebird ×1

linux ×1

python ×1

ubuntu ×1