Build Requirements ------------------ * `Python >= 2.5 `__ * `Numpy >= 1.6 `__ * `Cython >= 0.17 `__ `Matplotlib >= 1.0 `__ is needed to generate the examples in the documentation. You can use pip to automatically install the base dependencies as follows:: $ pip install -r requirements.txt Runtime requirements -------------------- * `SciPy >= 0.10 `__ * `NetworkX >= 1.8 `__ 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 ------------------ * `Scipy `__ 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. * `PyAMG `__ The ``pyamg`` module is used for the fast `cg_mg` mode of random walker segmentation. * `Pillow `__ (or `PIL `__) The ``Pillow`` library (or equivalently ``PIL``) is used for Input/Output. * `Astropy `__ is required to use the FITS io plug-in. Testing requirements -------------------- * `Nose `__ A Python Unit Testing Framework * `Coverage.py `__ A tool that generates a unit test code coverage report