Package Details: python-rembg 2.0.67-2

Git Clone URL: https://aur.archlinux.org/python-rembg.git (read-only, click to copy)
Package Base: python-rembg
Description: Rembg is a tool to remove images background
Upstream URL: https://github.com/danielgatis/rembg
Keywords: background-removal image-processing
Licenses: MIT
Submitter: Winux
Maintainer: Exorcism (AutoUpdateBot)
Last Packager: Exorcism
Votes: 2
Popularity: 0.008075
First Submitted: 2024-08-05 09:01 (UTC)
Last Updated: 2025-09-11 13:21 (UTC)

Latest Comments

patina commented on 2025-09-10 14:49 (UTC) (edited on 2025-09-10 17:31 (UTC) by patina)

@bannert I just rebuilt with the python-numpy and had no issues. python-gradio doesn't have python-numpy1 under dependencies. Perhaps clean build python-gradio? I provided the PKGBUILD I used for python-rembg.

PKGBUILD
# Maintainer: Winux <winux@winux.it> pkgname=python-rembg _pkgname=rembg pkgver=2.0.67 pkgrel=1 pkgdesc="Rembg is a tool to remove images background" arch=('any') url="https://github.com/danielgatis/rembg" license=('MIT') depends=('python' 'python-jsonschema' 'python-numpy' 'python-onnxruntime' 'python-opencv' 'python-pillow' 'python-pooch' 'python-pymatting' 'python-scikit-image' 'python-scipy' 'python-tqdm' 'python-aiohttp' 'python-click' 'python-fastapi' 'python-filetype' 'python-gradio' 'python-python-multipart' 'uvicorn' 'python-watchdog' 'python-asyncer') makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel' 'python-twine') source=("$_pkgname-$pkgver.tar.gz::https://github.com/danielgatis/rembg/archive/refs/tags/v$pkgver.tar.gz") sha256sums=('eff32b41b667f648bb0543a41aa836f3119b167700e836f3ddb3483b6252170b') build() {   cd "$srcdir/$_pkgname-$pkgver"   python -m build --wheel --no-isolation }  package() {   cd "$srcdir/$_pkgname-$pkgver"   python -m installer --destdir="$pkgdir" dist/*.whl }  

bannert commented on 2025-09-10 11:31 (UTC)

Installation fails with this error:

error: can't build python-rembg-2.0.67-1, deps not satisfied: python-numpy1  python-gradio error: packages failed to build: python-numpy1-1.26.4-5  python-gradio-pdf-0.0.22-1  python-gradio-client-1.12.1-1  python-safehttpx-0.1.6-4  python-gradio-5.44.1-1  python-rembg-2.0.67-1 

patina commented on 2025-09-09 20:27 (UTC) (edited on 2025-09-09 21:08 (UTC) by patina)

I've gotten python-rembg to build and work with python-numpy by just swapping them in the pkgbuild

Winux commented on 2024-11-09 17:30 (UTC)

Unfortunately not as upstream only supports numpy version 1.xx

nixit commented on 2024-11-09 12:10 (UTC)

is there a chance that python-numpy1 could be upgraded to the latest python-numpy-2.1.3.1 (as of this post)?