Pre-built installation ---------------------- `Windows binaries `__ are kindly provided by Christoph Gohlke (note that, when upgrading, you should first uninstall any older versions). The latest stable release is also included as part of `Enthought Canopy `__, `Python(x,y) `__ and `Anaconda `__. On Debian and Ubuntu, a Debian package ``python-skimage`` can be found in `the Neurodebian repository `__. Follow `the instructions `__ to add Neurodebian to your system package manager, then look for ``python-skimage`` in the package manager. On systems that support setuptools, the package can be installed from the `Python packaging index `__ using :: pip install -U scikit-image Installation from source ------------------------ Obtain the source from the git-repository at `http://github.com/scikit-image/scikit-image `_ by running:: git clone http://github.com/scikit-image/scikit-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/scikit-image/scikit-image/zipball/master `_. The scikit can be installed using:: pip install . 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 Building with bento ------------------- ``scikit-image`` can also be built using `bento `__. Bento depends on `WAF `__ for compilation. Follow the `Bento installation instructions `__ and `download the WAF source `__. Tell Bento where to find WAF by setting the ``WAFDIR`` environment variable:: export WAFDIR= From the ``scikit-image`` source directory:: bentomaker configure bentomaker build -j # (add -i for in-place build) bentomaker install # (when not builing in-place) Depending on file permissions, the install commands may need to be run as sudo. .. include:: ../../DEPENDS.txt