<div dir="ltr"><div class="gmail_quote"><br><div dir="ltr">Hi,<div><br></div><div>I am really new to PyMVPA. I downloaded neurodebian 6.04 32 bit and run it with Virtual box 4.1.2 on 32 bit windows 7 guest.</div><div>I am trying to use the tutorial to learn my way.</div>
<div>I downloaded the tutorial_data and run "start_tutorial_session.sh".</div><div><br></div><div>I did<u><b> >> </b><i>from tutorial_lib import *</i></u></div><div>( and got a warning:</div><div><br></div>
<div><div><i style="background-color:rgb(204, 204, 204)">/usr/lib/pymodules/python2.6/matplotlib/numerix/__init__.py:18: DeprecationWarning: </i></div><div><i style="background-color:rgb(204, 204, 204)">**********************************************************</i></div>
<div><i style="background-color:rgb(204, 204, 204)">matplotlib.numerix and all its subpackages are deprecated.</i></div><div><i style="background-color:rgb(204, 204, 204)">They will be removed soon. Please use numpy instead.</i></div>
<div><i style="background-color:rgb(204, 204, 204)">**********************************************************</i></div><div><i style="background-color:rgb(204, 204, 204)"><br></i></div><div><i style="background-color:rgb(204, 204, 204)"> warnings.warn(msg, DeprecationWarning)</i></div>
</div><div>)</div><div><br></div><div>All OK for now.</div><div>Now I did <i><u>>>ds = get_haxby2001_data()</u></i></div><div>as instructed by the tutorial and got an error:</div><div><br></div><div><div><span style="background-color:rgb(204, 204, 204)">---------------------------------------------------------------------------</span></div>
<div><span style="background-color:rgb(204, 204, 204)">NameError Traceback (most recent call last)</span></div><div><span style="background-color:rgb(204, 204, 204)"><br>
</span></div><div><span style="background-color:rgb(204, 204, 204)">/home/brain/Desktop/shared/bci/PyMVPA/tutorial_data/<ipython console> in <module>()</span></div><div><span style="background-color:rgb(204, 204, 204)"><br>
</span></div><div><span style="background-color:rgb(204, 204, 204)">/home/brain/Desktop/shared/bci/PyMVPA/tutorial_data/tutorial_lib.pyc in get_haxby2001_data(path, roi)</span></div><div><span style="background-color:rgb(204, 204, 204)"> 42 def get_haxby2001_data(path=None, roi='vt'):</span></div>
<div><span style="background-color:rgb(204, 204, 204)"> 43 if path is None:</span></div><div><span style="background-color:rgb(204, 204, 204)">---> 44 ds = get_raw_haxby2001_data(roi=roi)</span></div>
<div><span style="background-color:rgb(204, 204, 204)"> 45 else:</span></div><div><span style="background-color:rgb(204, 204, 204)"> 46 ds = get_raw_haxby2001_data(path, roi=roi)</span></div>
<div><span style="background-color:rgb(204, 204, 204)"><br></span></div><div><span style="background-color:rgb(204, 204, 204)">/home/brain/Desktop/shared/bci/PyMVPA/tutorial_data/tutorial_lib.pyc in get_raw_haxby2001_data(path, roi)</span></div>
<div><span style="background-color:rgb(204, 204, 204)"> 37 return ds</span></div><div><span style="background-color:rgb(204, 204, 204)"> 38 else:</span></div>
<div><span style="background-color:rgb(204, 204, 204)">---> 39 return load_datadb_demo_blockfmri(path=path, roi=roi)</span></div><div><span style="background-color:rgb(204, 204, 204)"> 40 </span></div>
<div><span style="background-color:rgb(204, 204, 204)"> 41 </span></div><div><span style="background-color:rgb(204, 204, 204)"><br></span></div><div><span style="background-color:rgb(204, 204, 204)">NameError: <b>global name 'load_datadb_demo_blockfmri' is not defined</b></span></div>
</div><div><span style="background-color:rgb(204, 204, 204)"><br></span></div><div><span style="background-color:rgb(255, 255, 255)"><span></span>I noticed that on windows mvpa, the module mvpa.misc.data_generators has the function </span><b style="background-color:rgb(204, 204, 204)">'load_datadb_demo_blockfmri', </b><span style="background-color:rgb(255, 255, 255)">but the debian version data_generators.py does not have it.</span><span style="background-color:rgb(204, 204, 204);font-weight:bold"></span></div>
<div><span style="background-color:rgb(255, 255, 255)"><br></span></div><div><span style="background-color:rgb(255, 255, 255)">What do I need to do / install to make it work??</span></div><div><span style="background-color:rgb(255, 255, 255)"><br>
</span></div><div><span style="background-color:rgb(255, 255, 255)"><br></span></div><div><span style="background-color:rgb(255, 255, 255)">Thanks a lot!!</span></div><div><span style="background-color:rgb(255, 255, 255)"><br>
</span></div><font color="#888888"><div><span style="background-color:rgb(255, 255, 255)">Ofir</span></div><div><br></div><div><br></div><div><br></div></font></div>
</div><br></div>