You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu24.04+Python3.12.3环境下IBEIS安装及运行故障求助

IBEIS在Ubuntu24.04+Python3.12.3环境下安装及运行问题求助

在Ubuntu24.04系统、Python3.12.3环境下,尝试按PyPI官网说明安装IBEIS(该软件提供Linux版本),但所有尝试均失败,无法自行解决。

已执行操作及对应错误

  • 执行pip install ibeis或sudo pip install ibeis,报错信息:
error: externally-managed-environment
This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
  • 按提示执行sudo apt install python3-ibeis,报错信息:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-ibeis
  • 执行sudo pipx install ibeis,安装中途失败,报错信息:
Fatal error from pip prevented installation. Full pip output in file:
/root/.local/state/pipx/log/cmd_2024-09-25_17.06.18_pip_errors.log

pip failed to build packages:
pyhesaff
vtool-ibeis-ext

Some possibly relevant errors from pip install:
error: subprocess-exited-with-error
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyhesaff, vtool-ibeis-ext)
Error installing ibeis.
  • 尝试官网提及的依赖解决方案:pip uninstall opencv-python、pip install opencv-python-headless,搭配sudo、pip、pipx、python3等多种组合执行,均无效果。

虚拟环境安装后运行错误

后续尝试在虚拟环境中安装IBEIS,安装过程正常,但运行时出现新错误:

[main!] WARNING: args.dbdir is None
[main] _init_gui()
[guitool_ibeis] Init new QApplication
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Aborted (core dumped)

尝试降级Python版本也无法解决问题,寻求可行的解决建议。

内容的提问来源于stack exchange,提问作者MyraCampbell

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.18 01:22:35