This page covers the necessary steps to install Nipype.
To check out the latest development version:
git clone git://github.com/nipy/nipype.git
The installation process is similar to other Python packages.
If you already have a Python environment setup that has the dependencies listed below, you can do:
pip install nipype
Add the NeuroDebian repository and install the python-nipype package using apt-get or your favorite package manager.
The easiest way to get nipype running on Mac OS X is to install EPD and then add nibabel and nipype by executing:
easy_install nibabel easy_install nipype
If you are running a 64 bit version of EPD, you will need to compile ETS. Instructions for a 64-bit boot mode are available: https://gist.github.com/845545
If you downloaded the source distribution named something like nipype-x.y.tar.gz, then unpack the tarball, change into the nipype-x.y directory and install nipype using:
python setup.py install
Note: Depending on permissions you may need to use sudo.
The best way to test the install is to run the test suite. If you have nose installed, then do the following:
python -c "import nipype; nipype.test()"
you can also test with nosetests:
nosetests --with-doctest /software/nipy-repo/masternipype/nipype --exclude=external --exclude=testing
All tests should pass (unless you’re missing a dependency). If SUBJECTS_DIR variable is not set some FreeSurfer related tests will fail. If any tests fail, please report them on our bug tracker.
On Debian systems, set the following environment variable before running tests:
where, $pathtomatlabdir is the path to your matlab installation and $platform is the directory referring to x86 or x64 installations (typically glnxa64 on 64-bit installations).
On unix systems, set an empty environment variable:
This will skip any tests that require matlab.
Below is a list of required dependencies, along with additional software recommendations.
Python 2.6 -2.7
NumPy 1.3 - 1.6
These are the software packages that nipype.interfaces wraps: