<br><div class="gmail_quote">On Thu, Feb 18, 2010 at 10:23 AM, Juli <span dir="ltr">&lt;<a href="mailto:la.foma@gmail.com">la.foma@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Dear All,<br>
<br>
I am very much new to python, therefore I am likely to feel stupid<br>
about asking this. I need pyMPVA module to play around with some fMRI<br>
data. I have installed Python2.6 on Mac OS X Leopard. When I input &gt;&gt;&gt;<br>
import mvpa i get a deprecation warning, which is not a problem,<br>
however when I try the following: &gt;&gt;&gt; &gt;&gt;&gt; import mvpa.suite as mvpa i<br>
do not get a deprecating warning however I get a number of errors that<br>
are as follows:<br>
&gt;&gt;&gt; import mvpa.suite as mvpa<br>
 </blockquote><div><br></div><div>In addition to what Yaroslav mentioned, I may also suggest that it&#39;s probably not a great idea to import a sub-package as the base package&#39;s name.  You may have problems later if you want to import from mvpa. I.E. it would be better to say </div>

<div>import mvpa.suite as suite</div><div>or</div><div>from mvpa import suite</div><div><br></div><div>Also I think you are supposed to use the syntax</div><div>from mvpa import suite as foobar</div><div>not</div><div>import mvpa.suite as foobar</div>

<div><br></div><div>but I&#39;m not sure.</div></div>