Having recently joined the MRIG as a new personnel, I have been doing lots of reading in the theory underlying imaging and image processing. One thing that striked me as an intern was the vast array of disparate software packages that we use, and having had relatively little time to orientate myself to using these packages proficiently, I felt quite stressed in the beginning. Through my readings, I happened to chance upon your paper on Nipype (
http://www.frontiersin.org/journal/10.3389/fninf.2011.00013/abstract). Indeed, Nipype does offer an
amazing new method to possibly automate our
processing pipelines, which would save us a lot of time and allow us to allocate our efforts into performing better research. Nipype would also be a great life-saver to new personnel like me who have to get up to speed with the work happening in the lab in a short time period!
I have decided to install Nipype into my MacBook and attempt to create a pipeline for our work and familiarise myself with the package before attempting to further it as a new means of data processing for my group. However, I have been encountering problems installing the software according to the installation guide (
http://nipy.org/nipype/users/install.html) and I hope that you could help me!
1. I downloaded enthought canopy and ensured that all Nipype dependencies have been installed via the package manager. However, even when I tried to do easy_install Nipype in the enthough
canopy (I keyed in the command easy_install Nipype into the 'IPython Pane' of Enthought Canopy editor window), nothing worked but i got an error message. Could it be that I should have run easy_install Nipype in a terminal instead? However, when i did, I was faced with a problem as demonstrated with the text file of the script that I have attached (problem with easy_install Nipype.txt).
2. I downloaded the zip file of Nipype 0.9.2 file from the website and unpacked it. Then i began the installation by executing setup.py file in terminal in the folder where the unpacked file was located. However, I ran into these errors as shown in the other text file of the script that i have attached, and these errors stated that the installer couldn't find the required dependencies. However, they
appeared even after i have installed canopy on my system with the dependencies already added in through
package manager. Nonetheless, I thought that the problem might have been due to the nipype setup.py file not being able to 'find' those packages under Canopy and so I attempted to manually install one of the dependencies which was networkX. After doing so, the problem of a missing networkX package went away and instead, I was missing enthought traits. However, I already have Enthought canopy installed and so traits already came with it, and why doesn't it get 'detected' by nipype's setup.py file (i have attached the text file installing nipype setup.py file.txt)? Is it really the case that a package installed under Enthought canopy is different from one that i had installed manually from the tarball?
3. As I am really new to all these software things (in fact one major reason why I
wanted to join my group for my internship was to build up my competencies in computation and programming), this third question may be a very simple one, but I hope you could bear with it!
After running into all the problems that i had stated earlier, I realised that... there might be 2 approaches to installing Nipype. One is through the Python environment provided by Canopy and the other is through terminal and
manually installing all the required dependencies of Nipype.
For my case, I realised that when i installed all the dependencies for Nipype in the Canopy package manager, it couldn't work when I tried starting the installation for Nipype (ie. the dependencies were not detected by Nipype). However, when I manually downloaded and install the dependencies (obtain the tar balls of files such as Nibabel and Networkx, unpack them and run them so that they can be added to the site packages of my Python 2.7 library) and then attempt to run setup.py of Nipype, then it seemed that those dependencies are present.
I don't quite understand why this is so and I hope it would be possible for you to elucidate it to me. Could it be that if i want to install nipype through enthought canopy, then i
should stick exclusively to it, and it i want to install nipype manually through tar ball, I should stick exclusively to it?
Thank you very much for all your help and sorry for the trouble!
Best regards,
Augustine