Package Details: python2-scikit-image 0.13.0-2

Git Clone URL: https://aur.archlinux.org/python-scikit-image.git (read-only)
Package Base: python-scikit-image
Description: Image processing routines for SciPy
Upstream URL: http://scikit-image.org/
Licenses: BSD
Submitter: Dragonlord
Maintainer: Dragonlord
Last Packager: Dragonlord
Votes: 20
Popularity: 0.461989
First Submitted: 2016-04-30 10:32
Last Updated: 2017-09-10 15:54

Latest Comments

davidmcinnis commented on 2017-07-28 03:56

I just added python-pyamg to the AUR, please add this to the list of optional dependencies.

See: http://scikit-image.org/docs/stable/release_notes_and_installation.html#optional-requirements

Thanks

-Dave

b52 commented on 2017-07-21 11:45

As @drawm mentioned, you should add python-pywavelets as dependency!

shadeless commented on 2017-07-07 15:29

Did anyone successfully install all of the dependencies? I end up with this error message

ImportError: The 'packaging.requirements' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.

I don't understand this because I have python-requirements and python2-requirements installed. Can anyone help me?

drawm commented on 2017-04-29 16:07

The dependency on python-pywavelets (python2-pywavelets) is missing, so there are many import errors if it has not been installed.

The dependency was introduced in https://github.com/scikit-image/scikit-image/commit/c6e5c7095350e931709acd894a54b32c42375822

Please update the "depends" field in the PKGBUILD accordingly.

nstickney commented on 2017-04-09 18:52

If you want the up-to-date package, and only the version for python 3, you can modify the PKGBUILD as below.

# Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>

#TODO (AUR optdepends): PyAMG, Astropy, SimpleITK, imread

pkgbase=python-scikit-image
pkgname=('python-scikit-image')
pkgver=0.13.0
pkgrel=1
pkgdesc="Image processing routines for SciPy"
arch=('i686' 'x86_64')
url="http://scikit-image.org/"
license=('BSD')
makedepends=('cython' 'python-six' 'python-scipy' 'python-matplotlib' 'python-networkx' 'python-pillow')
options=(!emptydirs)
source=(https://pypi.python.org/packages/f0/a2/918366ba9095ed4c07646be903c795f375d978ee418136eecb0571559719/scikit-image-0.13.0.tar.gz#md5=c92b682ed77b568218423b7afe454996)
sha256sums=('77a636bdc08c7668a15951894548c527f0c8c5c2abc86cb850de17551af51e3e')

prepare() {
cd "$srcdir"
}

build() {

msg "Building SciKit-Image for Python3"
cd "$srcdir"/scikit-image-$pkgver
python setup.py build
}

package_python-scikit-image() {
depends=('python-scipy' 'python-matplotlib' 'python-networkx' 'python-pillow')
optdepends=('python-pyqt4: for imshow(x, fancy=True) and skivi'
'freeimage: for reading various types of image file formats')
cd "$srcdir"/scikit-image-$pkgver

python setup.py install --root="$pkgdir"/ --optimize=1

install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

migueldvb commented on 2017-03-27 22:11

Since there is a python2-scikit-image package already, is it possible to make this PKGBUILD to build only python-scikit-image ?

daniel_shub commented on 2016-09-09 20:48

Would it be possible to relax the dependency on python2-pillow to simply python2-imaging? Psychopy (https://aur.archlinux.org/packages/psychopy/) is supposedly incompatible with pillow but works with PIL. The scikit documentation suggests it works with both pillow and PIL.

schmodd commented on 2016-08-26 13:49

I am sorry, fault seems to be on my side.
Building the package the way it is described in your link works fine.
Thanks for your help.

Dragonlord commented on 2016-08-21 17:44

Cannot reproduce the error, package builds fine on my machine with the same command. You may try building it in a clean chroot as described on https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot#Convenience_Way

schmodd commented on 2016-08-21 11:20

I get this when running "makepkg -sri":

==> Building Python2
Partial import of skimage during the build process.
Traceback (most recent call last):
File "setup.py", line 146, in <module>
**extra
File "/usr/lib/python2.7/site-packages/numpy/distutils/core.py", line 135, in setup
config = configuration()
File "setup.py", line 69, in configuration
config.add_subpackage('skimage')
File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 1003, in add_subpackage
caller_level = 2)
File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 972, in get_subpackage
caller_level = caller_level + 1)
File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 909, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "skimage/setup.py", line 9, in configuration
config.add_subpackage('_shared')
File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 1003, in add_subpackage
caller_level = 2)
File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 972, in get_subpackage
caller_level = caller_level + 1)
File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 909, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "skimage/_shared/setup.py", line 20, in configuration
config.add_extension('geometry', sources=['geometry.c'])
File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 1485, in add_extension
ext = Extension(**ext_args)
File "/usr/lib/python2.7/site-packages/numpy/distutils/extension.py", line 52, in __init__
export_symbols)
TypeError: __init__() takes at most 4 arguments (13 given)
==> FEHLER: Ein Fehler geschah in build().
Breche ab...

All comments