Navigation

Documentation Home

 

Contents

Previous topic

Version 0.3

Next topic

User Guide

Version

Pre-built installation

Windows binaries are kindly provided by Christoph Gohlke.

The latest stable release is also included as part of the Enthought Python Distribution (EPD) and Python(x,y).

On systems that support setuptools, the package can be installed from the Python packaging index using

easy_install -U scikits-image

or

pip -U scikits-image

Installation from source

Obtain the source from the git-repository at http://github.com/scikits-image/scikits-image.

by running

git clone http://github.com/scikits-image/scikits-image.git

in a terminal (You will need to have git installed on your machine).

If you do not have git installed, you can also download a zipball from https://github.com/scikits-image/scikits-image/zipball/master.

The SciKit can be installed globally using

python setup.py install

or locally using

python setup.py install --prefix=${HOME}

If you prefer, you can use it without installing, by simply adding this path to your PYTHONPATH variable and compiling extensions in-place:

python setup.py build_ext -i

Build Requirements

Matplotlib >= 1.0 is needed to generate the examples in the documentation.

Known build errors

On Windows, the error Error:unable to find vcvarsall.bat means that distutils is not correctly configured to use the C compiler. Modify (or create, if not existing) the configuration file distutils.cfg (located for example at C:\Python26\Lib\distutils\distutils.cfg) to contain:

[build]
compiler=mingw32

Usage Requirements

Optional Requirements

You can use this scikit with the basic requirements listed above, but some functionality is only available with the following installed:

PyQt4
The qt plugin that provides imshow(x, fancy=True) and skivi.
FreeImage
The freeimage plugin provides support for reading various types of image file formats, including multi-page TIFFs.