Skip to content

[Bug]: pyicu installation failure on ubuntu os via v sync --python 3.10 --all-extras #8110

Closed
@HaiyangPeng

Description

@HaiyangPeng

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

RAGFlow workspace code commit ID

7ed9efc

RAGFlow image version

7ed9efc

Other environment information

ubuntu 20.04
AMD cpu

Actual behavior

After I run the v sync --python 3.10 --all-extras command on ubuntu os, the following error occurs:

        self._finalize_license_expression()
      unicodeset.cpp: In function ‘int t_unicodesetiterator_init(t_unicodesetiterator*, PyObject*, PyObject*)’:
      unicodeset.cpp:1334:31: error: ‘class icu_66::UnicodeSetIterator’ has no member named ‘skipToStrings’
       1334 |                 self->object->skipToStrings();
            |                               ^~~~~~~~~~~~~
      error: command '/usr/bin/c++' failed with exit code 1

      hint: This usually indicates a problem with the package or the build environment.
  help: `pyicu` (v2.15) was included because `ragflow` (v0.19.0) depends on `pyicu`

Expected behavior

No response

Steps to reproduce

step1: activate python3.10 env
step2: run `sudo apt-get install libicu-dev pkg-config`
step3: run `uv sync --python 3.10 --all-extras`

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working, pull request that fix bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions