Package Details: python-scikit-image 0.25.1-1

Git Clone URL: https://aur.archlinux.org/python-scikit-image.git (read-only, click to copy)
Package Base: python-scikit-image
Description: Image processing routines for SciPy
Upstream URL: http://scikit-image.org
Licenses: BSD-3-Clause
Submitter: Dragonlord
Maintainer: Universebenzene
Last Packager: Universebenzene
Votes: 69
Popularity: 0.96
First Submitted: 2016-04-30 10:32 (UTC)
Last Updated: 2025-02-02 07:13 (UTC)

Sources (1)

Latest Comments

1 2 3 4 5 6 Next › Last »

simonzack commented on 2025-02-02 07:14 (UTC)

Please don't switch it to python-numpy1. I only have python-numpy 2.2.2-1 installed. Old software versions are obsolete. When you ran pacman -Qii there that's the same as running it for python-numpy.

MonkeeSage commented on 2025-02-02 07:05 (UTC) (edited on 2025-02-02 07:06 (UTC) by MonkeeSage)

@Universebenzene can you remove the make dependency on python-numpy>=2.0 that was added in version 0.25.0-1, or switch it to python-numpy1? The >=2.0 build dependency was only added upstream as a work around for testing nightly dev builds in their CI system.

https://github.com/scikit-image/scikit-image/pull/7367

https://github.com/scikit-image/scikit-image/issues/7282

The package (0.25.1-1) builds just fine with python-numpy1 and many packages still depend on numpy1 so trying to upgrade this package wants to remove like 150 python packages on my development system when python-numpy>=2.0 is in the makedepends.

❯ pacman -Qii python-numpy1
Name            : python-numpy1
Version         : 1.26.4-5
...
Required By     : inkscape  python-chex  python-clickgen  python-contourpy  python-gradio  python-h5py  python-huggingface-hub  python-imagecodecs  python-imageio  python-jax  python-jaxlib-cuda  python-keras  python-matplotlib
                  python-ml-dtypes  python-networkx  python-numba  python-onnx  python-onnxruntime-opt  python-openai-whisper  python-opencv  python-openrazer  python-opt_einsum  python-optax  python-pandas  python-pyarrow
                  python-pycuda  python-pymatting  python-pythran  python-pytools  python-pytorch-opt-cuda  python-rembg  python-scikit-image  python-scikit-learn  python-scipy  python-tensorflow  python-tifffile
                  python-torchvision-cuda  python-transformers  tensorboard

Universebenzene commented on 2024-07-23 07:35 (UTC)

@PBhat I just rebuilt the package on Arch Linux with devtools and no problem occured. No idea whether your problem is caused by manjaro or not.

PBhat commented on 2024-07-22 04:26 (UTC)

Trying to install through Manjaro 'Add/Remove packages'

Aborting installation on error.

Some of the last lines of error below.

" gcc -fno-strict-overflow -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -fPIC -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -Iimagecodecs -I/usr/include/python3.12 -I/usr/lib/python3.12/site-packages/numpy/_core/include -c imagecodecs/_jpegls.c -o build/temp.linux-x86_64-cpython-312/imagecodecs/_jpegls.o imagecodecs/_jpegls.c:1263:10: fatal error: charls/charls.h: No such file or directory 1263 | #include "charls/charls.h" | ^ compilation terminated. error: command '/usr/bin/gcc' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel ==> ERROR: A failure occurred in build(). Aborting... "

Universebenzene commented on 2023-11-13 03:29 (UTC)

@ifernando beniget should be a dependency of pythran. No idea why you missed it.

ifernando commented on 2023-11-12 19:17 (UTC) (edited on 2023-11-12 19:24 (UTC) by ifernando)

During compilation the following error occurs:

ModuleNotFoundError: No module named 'beniget'
[2/168] Generating skimage/feature/_brief_pythran with a custom command
FAILED: skimage/feature/brief_cy.cpp 

I have installed https://aur.archlinux.org/packages/pypy3-beniget but it does not solve the missing module.

Any ideas so solve it?

hashworks commented on 2023-10-18 18:49 (UTC) (edited on 2023-10-18 18:49 (UTC) by hashworks)

aurutils fails to make it past the dep installation, any idea?

==> Making package: python-scikit-image 0.22.0-1 (Wed 18 Oct 2023 08:49:34 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
:: cython and cython0 are in conflict. Remove cython0? [y/N] y
:: python-gast and python-gast03 are in conflict. Remove python-gast03? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing python-gast03 breaks dependency 'python-gast03' required by python-tensorflow-opt-cuda
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> cython>=0.29.32
  -> meson-python>=0.14
  -> python-pythran
  -> python-astropy>=5.0
  -> python-pytest-cov>=2.11.0
  -> python-dask
  -> python-numpydoc>=1.5
  -> python-pytest-localserver
  -> python-simpleitk
==> ERROR: Could not resolve all dependencies.

dtbaumann commented on 2023-10-10 18:24 (UTC)

failed compilation might have been a problem with python-build 1.0.1, solved here with today's update to 1.0.3

4rozenwolves commented on 2023-10-06 06:34 (UTC) (edited on 2023-10-06 06:37 (UTC) by 4rozenwolves)

I received this error when installing:

skimage/feature/_cascade.cpython-311-x86_64-linux-gnu.so.p/_cascade.cpp: In function ‘__pyx_t_5numpy_float64_t __pyx_fuse_9__pyx_f_7skimage_7_shared_13interpolation_get_pixel3d(__pyx_t_5numpy_float64_t*, Py_ssize_t, Py_ssize_t, Py_ssize_t, Py_ssize_t, Py_ssize_t, Py_ssize_t, char, __pyx_t_5numpy_float64_t)’:
skimage/feature/_cascade.cpython-311-x86_64-linux-gnu.so.p/_cascade.cpp:103613:34: error: ‘__pyx_f_7skimage_7_shared_13interpolation_coord_map’ was not declared in this scope; did you mean ‘__pyx_f_7skimage_7_shared_13interpolation_fmax’?
103613 |     __pyx_r = (__pyx_v_image[((((__pyx_f_7skimage_7_shared_13interpolation_coord_map(__pyx_v_rows, __pyx_v_r, __pyx_v_mode) * __pyx_v_cols) * __pyx_v_dims) + (__pyx_f_7skimage_7_shared_13interpolation_coord_map(__pyx_v_cols, __pyx_v_c, __pyx_v_mode) * __pyx_v_dims)) + __pyx_f_7skimage_7_shared_13interpolation_coord_map(__pyx_v_dims, __pyx_v_d, __pyx_v_mode))]);
       |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       |                                  __pyx_f_7skimage_7_shared_13interpolation_fmax
[63/168] Compiling C object skimage/graph/_mcp.cpython-311-x86_64-linux-gnu.so.p/meson-generated__mcp.c.o
[64/168] Generating 'skimage/filters/rank/generic_cy.cpython-311-x86_64-linux-gnu.so.p/generic_cy.c'
ninja: build stopped: subcommand failed.

ERROR Backend subprocess exited when trying to invoke build_wheel
==> ERROR: A failure occurred in build().
    Aborting...

I changed the dependency from python-scipy to python-scipy-mkl since it was giving dependency check error by trying to uninstall python-scipy-mkl