我是用了部署在termux上的乌班图部署的open webui,用的是pip包方法,但prime包老是构建失败,有没有大佬有方法
thread ‘main’ panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/boring-sys2-4.12.0/build/main.rs:576:44:
called Result::unwrap()
on an Err
value: Os { code: 2, kind: NotFound, message: “No such file or directory” }
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish…
maturin failed
Caused by: Failed to build a native library through cargo
Caused by: Cargo build finished with “exit status: 101”: env -u CARGO PYO3_ENVIRONMENT_SIGNATURE="cpython-3.11-64bit" PYO3_PYTHON="/usr/local/bin/python3.11" PYTHON_SYS_EXECUTABLE="/usr/local/bin/python3.11" "cargo" "rustc" "--features" "pyo3/extension-module" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/pip-install-cq4ypfcy/primp_ab895592b22341d7a9bc43c92e33cd26/Cargo.toml" "--release" "--lib"
Error: command [‘maturin’, ‘pep517’, ‘build-wheel’, ‘-i’, ‘/usr/local/bin/python3.11’, ‘–compatibility’, ‘off’] returned non-zero exit status 1
error: subprocess-exited-with-error
× Building wheel for primp (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /usr/local/bin/python3.11 /usr/local/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpy0ipas6r
cwd: /tmp/pip-install-cq4ypfcy/primp_ab895592b22341d7a9bc43c92e33cd26
Building wheel for primp (pyproject.toml) … error
ERROR: Failed building wheel for primp
Failed to build primp
ERROR: Could not build wheels for primp, which is required to install pyproject.toml-based projects
手机上费这个劲干啥,也不稳定
楼上说的对
强制安装依赖即可
手机部署不卡吗, 电池也撑不住吧
手机部署openwebui然后调api吗 感觉怪怪的
老哥能细说吗
过去这么久了 佬部署成功了吗
我用tmoe脚本搞了最新的proot乌班图,已经可以成功安装pip包了,但是需要root权限才能运行
这么麻烦吗, 我用proot-distro安装debian, 后面用uv直接就安装好了
Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.
Generating a new secret key and saving it to /root/.webui_secret_key
Loading WEBUI_SECRET_KEY from /root/.webui_secret_key
/root/venv/lib/python3.12/site-packages/open_webui
/root/venv/lib/python3.12/site-packages
/root/venv/lib/python3.12
/root/venv/lib/python3.12/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn’t find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn(“Couldn’t find ffmpeg or avconv - defaulting to ffmpeg, but may not work”, RuntimeWarning) Error in cpuinfo: failed to parse the list of possible processors in /sys/devices/system/cpu/possible Error in cpuinfo: failed to parse the list of present processors in /sys/devices/system/cpu/present
Error in cpuinfo: failed to parse both lists of possible and present processors terminate called after throwing an instance of ‘onnxruntime::OnnxRuntimeException’
what(): /onnxruntime_src/include/onnxruntime/core/common/logging/logging.h:367 static const onnxruntime::logging::Logger& onnxruntime::logging::LoggingManager::DefaultLogger() Attempt to use DefaultLogger but none has been registered.
zsh: abort open-webui serve
我没碰到你这个问题, 我用的是ZeroTermux, 前面因为python版本失败了, 后面从3.11换成了3.12就安装成功了
我也用的ze,就是启动不了
我的root闲置机已经成功部署了