ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: When I start the service from source for development, an error is reported

Open huangxinbo opened this issue 11 months ago • 1 comments

Describe your problem

uv sync --python 3.10 --all-extras

Using CPython 3.10.16
Creating virtual environment at: .venv
Resolved 377 packages in 14ms
error: Distribution `torch==2.6.0 @ registry+https://pypi.tuna.tsinghua.edu.cn/simple` can't be installed because it doesn't have a source distribution or wheel for the current platform

hint: You're on macOS (`macosx_14_0_x86_64`), but `torch` (v2.6.0) only has wheels for the following platforms: `manylinux_2_28_aarch64`, `manylinux1_x86_64`, `macosx_11_0_arm64`, `win_amd64`
Resolved 377 packages in 17.45s
warning: The package `google-cloud-aiplatform==1.64.0` does not have an extra named `all`
warning: The package `akracer==0.0.13` does not have an extra named `py-mini-racer`
error: Distribution `aspose-slides==24.12.0 @ registry+https://pypi.tuna.tsinghua.edu.cn/simple` can't be installed because it doesn't have a source distribution or wheel for the current platform

hint: You're on Linux (`linux_x86_64`), but `aspose-slides` (v24.12.0) only has wheels for the following platforms: `manylinux1_x86_64`, `macosx_10_14_x86_64`, `macosx_11_0_arm64`, `win_amd64`

huangxinbo avatar Feb 17 '25 11:02 huangxinbo

Give a try: install torch independenty at first place. FYI

KevinHuSh avatar Feb 18 '25 02:02 KevinHuSh