<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi, thanks for the reply. <br><br>i had already typed in import nibabel and it was accepted but when i type&nbsp; &gt;&gt;&gt;&gt; ds = get_haxby2001_data()<br>i get RuntimeError: Required external 'nibabel' was not found. so no change from before.<br><br>Also when i do the same in ubuntu i always get the same error as shown below<br><br>&nbsp;IOError: [Errno 2] No such file or directory: './data/attributes.txt'<br><br>i have also added such directory to the path so it should be able to find it.<br><br>&gt;&gt;&gt; sys.path.append("/home/amit/tutorial_data/data")<br><br>thanks in advance<br><br>Amit<br><br>&gt;&gt;&gt; ds = get_haxby2001_data()<br>Traceback (most recent call last):<br>&nbsp; File "&lt;stdin&gt;", line 1, in &lt;module&gt;<br>&nbsp; File "/home/amit/tutorial_data/tutorial_lib.py", line 44, in get_haxby2001_data<br>&nbsp;&nbsp;&nbsp; ds = get_raw_haxby2001_data(roi=roi)<br>&nbsp; File "/home/amit/tutorial_data/tutorial_lib.py", line 39, in get_raw_haxby2001_data<br>&nbsp;&nbsp;&nbsp; return load_datadb_demo_blockfmri(path=path, roi=roi)<br>&nbsp; File "mvpa/misc/data_generators.py", line 375, in load_datadb_tutorial_data<br>&nbsp;&nbsp;&nbsp; attr = SampleAttributes(os.path.join(path, 'attributes.txt'))<br>&nbsp; File "mvpa/misc/io/base.py", line 408, in __init__<br>&nbsp;&nbsp;&nbsp; sep=None, dtype=dtypes)<br>&nbsp; File "mvpa/misc/io/base.py", line 118, in __init__<br>&nbsp;&nbsp;&nbsp; dtype=dtype, skiplines=skiplines)<br>&nbsp; File "mvpa/misc/io/base.py", line 214, in _from_file<br>&nbsp;&nbsp;&nbsp; file_ = open(filename, 'r')<br>IOError: [Errno 2] No such file or directory: './data/attributes.txt'<br><br>&gt;&gt;&gt; mvpa.wtf()<br>Current date:&nbsp;&nbsp; 2011-03-01 14:10<br>PyMVPA:<br>&nbsp;Version:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.6.0~rc1<br>&nbsp;Hash:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; feda3f526efd71a5ae34f0c1fd3d8f2334d5f412<br>&nbsp;Path:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mvpa/__init__.py<br>&nbsp;Version control (GIT):<br>&nbsp;GIT information could not be obtained due "mvpa/.. is not under GIT"<br>SYSTEM:<br>&nbsp;OS:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; posix Linux 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:45:36 UTC 2010<br>&nbsp;Distribution:&nbsp; Ubuntu/10.10/maverick<br>EXTERNALS:<br>&nbsp;Present:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cPickle, ctypes, good scipy.stats.rdist, good scipy.stats.rv_discrete.ppf, griddata, gzip, matplotlib, mdp, mdp ge 2.4, nibabel, numpy, pylab, pylab plottable, pywt, pywt wp reconstruct, reportlab, scipy, sg ge 0.6.4, sg ge 0.6.5, sg_fixedcachesize, shogun, shogun.krr, shogun.mpd, shogun.svmocas<br>&nbsp;Absent:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; atlas_fsl, atlas_pymvpa, elasticnet, glmnet, h5py, hcluster, lars, libsvm, libsvm verbosity control, lxml, mass, nipy, nose, openopt, pprocess, pywt wp reconstruct fixed, rpy2, running ipython env, shogun.lightsvm, shogun.svrlight, skl, weave<br>&nbsp;Versions of critical externals:<br>&nbsp; shogun:full : 0.9.3_r4889_2010-05-27_20:52_<br>&nbsp; shogun:rev&nbsp; : 4889<br>&nbsp; reportlab&nbsp;&nbsp; : 2.4<br>&nbsp; shogun&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 0.9.3<br>&nbsp; matplotlib&nbsp; : 0.99.3<br>&nbsp; scipy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 0.7.2<br>&nbsp; mdp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2.6<br>&nbsp; numpy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 1.3.0<br>&nbsp; ctypes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 1.1.0<br>&nbsp; matplotlib&nbsp; : 0.99.3<br>&nbsp; nifti&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : failed to query due to "nifti is not a known dependency key."<br>&nbsp; numpy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 1.3.0<br>&nbsp; pywt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 0.2.0<br>&nbsp; shogun&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : v0.9.3_r4889_2010-05-27_20:52_<br>&nbsp;Matplotlib backend: TkAgg<br>RUNTIME:<br>&nbsp;PyMVPA Environment Variables:<br>&nbsp;&nbsp; PyMVPA Runtime Configuration:<br>&nbsp; [externals]<br>&nbsp; have griddata = yes<br>&nbsp; have pprocess = no<br>&nbsp; have good scipy.stats.rdist = yes<br>&nbsp; have pylab plottable = yes<br>&nbsp; have pywt wp reconstruct = yes<br>&nbsp; have h5py = no<br>&nbsp; have lxml = no<br>&nbsp; have running ipython env = no<br>&nbsp; have nibabel = yes<br>&nbsp; have sg_fixedcachesize = yes<br>&nbsp; have elasticnet = no<br>&nbsp; have shogun.mpd = yes<br>&nbsp; have matplotlib = yes<br>&nbsp; have pywt wp reconstruct fixed = no<br>&nbsp; have scipy = yes<br>&nbsp; have reportlab = yes<br>&nbsp; have openopt = no<br>&nbsp; have libsvm = no<br>&nbsp; have nose = no<br>&nbsp; have weave = no<br>&nbsp; have atlas_fsl = no<br>&nbsp; have ctypes = yes<br>&nbsp; have hcluster = no<br>&nbsp; have sg ge 0.6.4 = yes<br>&nbsp; have sg ge 0.6.5 = yes<br>&nbsp; have good scipy.stats.rv_discrete.ppf = yes<br>&nbsp; have libsvm verbosity control = no<br>&nbsp; have mdp ge 2.4 = yes<br>&nbsp; have shogun.svrlight = no<br>&nbsp; have shogun = yes<br>&nbsp; have shogun.svmocas = yes<br>&nbsp; have nipy = no<br>&nbsp; have glmnet = no<br>&nbsp; have mass = no<br>&nbsp; have lars = no<br>&nbsp; have shogun.krr = yes<br>&nbsp; have atlas_pymvpa = no<br>&nbsp; have cpickle = yes<br>&nbsp; have mdp = yes<br>&nbsp; have numpy = yes<br>&nbsp; have pylab = yes<br>&nbsp; have rpy2 = no<br>&nbsp; have shogun.lightsvm = no<br>&nbsp; have pywt = yes<br>&nbsp; have skl = no<br>&nbsp; have gzip = yes<br><br><br><br><br><br><br>&gt; Date: Tue, 1 Mar 2011 13:38:55 -0500<br>&gt; From: michael.hanke@gmail.com<br>&gt; To: pkg-exppsy-pymvpa@lists.alioth.debian.org<br>&gt; Subject: Re: [pymvpa] (no subject)<br>&gt; <br>&gt; Hey,<br>&gt; <br>&gt; On Tue, Mar 01, 2011 at 05:56:43PM +0000, Daniel Agger wrote:<br>&gt; &gt; <br>&gt; &gt; Dear pymvpa helper<br>&gt; &gt;  <br>&gt; &gt; Im trying to install pymvpa and i start the tutorial, and i run into<br>&gt; &gt; this problem.It says nibabel not found,and it requires external<br>&gt; &gt; nibabel but i have nibabel in my path. so i don't what to do, please<br>&gt; &gt; help.<br>&gt; <br>&gt; It doesn't look like you have it in the path.<br>&gt; <br>&gt; &gt; &gt;&gt;&gt; ds = get_haxby2001_data()<br>&gt; <br>&gt; Can you do a<br>&gt; <br>&gt;         import nibabel<br>&gt; <br>&gt; right in front of that line. I guess it doesn't work and nibabel is not<br>&gt; available.<br>&gt; <br>&gt; Michael<br>&gt; <br>&gt; -- <br>&gt; Michael Hanke<br>&gt; http://mih.voxindeserto.de<br>&gt; <br>&gt; _______________________________________________<br>&gt; Pkg-ExpPsy-PyMVPA mailing list<br>&gt; Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org<br>&gt; http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa<br>                                               </body>
</html>