Package Details: python-rapidocr 3.9.1-1

Git Clone URL: https://aur.archlinux.org/python-rapidocr.git (read-only, click to copy)
Package Base: python-rapidocr
Description: Cross-runtime OCR library
Upstream URL: https://github.com/RapidAI/RapidOCR
Licenses: Apache-2.0
Submitter: aliu
Maintainer: aliu
Last Packager: aliu
Votes: 1
Popularity: 0.013125
First Submitted: 2025-11-30 02:14 (UTC)
Last Updated: 2026-07-03 18:28 (UTC)

Sources (5)

Pinned Comments

aliu commented on 2026-06-24 20:20 (UTC) (edited on 2026-06-24 20:20 (UTC) by aliu)

You may notice that the official repositories have yet to package python-installer 1.0.1+. We require that version due to a bug that blocks upgrades, related to symlinks.

To get this package to build, simply bump python-installer yourself:

  1. Fetch the PKGBUILD for python-installer. You can do this through a helper (e.g. paru -G python-installer) or by simple cloning (git clone https://gitlab.archlinux.org/archlinux/packaging/packages/python-installer.git).
  2. Open the PKGBUILD file and change line 8 to pkgver=1.0.1. Replace line 39 with b2sums=('9101f90e108894c675b605123a372b45b43b4720fb1ac2eee18ea15d7759e8e1e0adeccc0da006fb3bba25e5094310158206182527ff82249a3aecacf08fcb39') (or update the checksum yourself).
  3. cd to the directory for python-installer's PKGBUILD and run makepkg -si.

Latest Comments

« First ‹ Previous 1 2

nikod commented on 2026-02-07 02:56 (UTC)

This line needs double quotes otherwise it won't replace ${pkgver}

'https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/v${pkgver}/resources/fonts/FZYTK.TTF'

RuneArch commented on 2026-02-05 17:22 (UTC)

Having an issue with the font file, not clear where, but - for me - there was a certificate error with www.modelscope.cn.

I can download the file ok from a browser, but all my certificates are up to date... ended up modifying the PKGBUILD to point to a local copy of the font and that allowed it to continue (and immich-machine-learning too)

aliu commented on 2025-12-08 20:03 (UTC)

Sorry, forgot about this. Will fix today.

jwh commented on 2025-12-08 19:48 (UTC)

Just noticed immich-machine-learning has been failing to update because of this also:

Dec 08 19:44:09 builder-amd64 update-aurto[1858455]: ==> Extracting sources...
Dec 08 19:44:09 builder-amd64 update-aurto[1858455]:   -> Extracting v3.4.2.tar.gz with bsdtar
Dec 08 19:44:10 builder-amd64 update-aurto[1858455]:   -> Extracting required_for_whl_v3.0.0.zip with bsdtar
Dec 08 19:44:10 builder-amd64 update-aurto[1858455]: ==> Starting prepare()...
Dec 08 19:44:10 builder-amd64 update-aurto[1860420]: patching file setup.py
Dec 08 19:44:10 builder-amd64 update-aurto[1860420]: rm: cannot remove 'rapidocr/rapidocr/': No such file or directory
Dec 08 19:44:10 builder-amd64 update-aurto[1860420]: ==> ERROR: A failure occurred in prepare().
Dec 08 19:44:10 builder-amd64 update-aurto[1860420]:     Aborting...

aliu commented on 2025-12-04 15:20 (UTC)

Interesting. The directory spontaneously appears for me. I’ll add a folder existence check when I get home in a few days.

CountMurphy commented on 2025-12-02 16:58 (UTC) (edited on 2025-12-02 17:40 (UTC) by CountMurphy)

Line 60

    rm -r build/lib/rapidocr/rapidocr/  # no idea why\ {this happens,only under makepkg}

Causes the build to fail as the directory doesn't exist. Removing the line allows the build to succeed (with makepkg)