Hi, i am getting errors going through the tutorial. <br><br>#1- import mvpa2 returns ImportError: No module named mvpa2<br>#2- from tutorial_lib import * ImportError: No module named mvpa2.suite<br>#3 Suggestions or ideas on how to resolve these two errors? <br>
<br>Here's the relevant info and the trouble-shooting I've done. <br><br><br>specifically, I am getting this error in ipython when i run <br><i>from tutorial_lib import *  </i><br><br>.../tools/tutorial_lib.py in <module>()<br>
     13 <br>     14 # later replace with<br><br>---> 15 from mvpa2.suite import *<br>     16 <br>     17 tutorial_data_path = mvpa2.cfg.get('location', 'tutorial data', default=os.path.curdir)<br><br>ImportError: No module named mvpa2.suite<br>
<br>I think what is causing my problem is had version 0.4, removed 0.4 and installed 0.6-snapshot. <br><br>From reading the mailing list the mvpa module is version 0.4x and the mvpa2 module is 0.6x. <br>Initially I installed PyMVPA using sudo apt-get python-mvpa.  <br>
<br>This installed version 0.4x.  After checking the versions, I removed mvpa (0.4) and installed the snapshot from the Neurodebian respository.  <br><br>So now I have the snapshot version, but it will only load when I use import mvpa <br>
Import mvpa and checking the version returns 0.6.   <br>In [3]: mvpa.__version__<br>Out[3]: '0.6.0~rc3'<br><br>Import mvpa2 returns: ImportError: No module named mvpa2<br><br><br>Here's the output of mvpa.wtf()<br>
<br>In [6]: mvpa.wtf()<br>/usr/lib/pymodules/python2.7/nose/util.py:14: DeprecationWarning: The compiler package is deprecated and removed in Python 3.x.<br>  from compiler.consts import CO_GENERATOR<br>Out[6]: <br>Current date:   2011-10-02 13:58<br>
PyMVPA:<br> Version:       0.6.0~rc3<br> Hash:          fd0f2809300cc25e81ee21a3a876d00d524402c1<br> Path:          /usr/lib/pymodules/python2.7/mvpa/__init__.pyc<br> Version control (GIT):<br> GIT information could not be obtained due "/usr/lib/pymodules/python2.7/mvpa/.. is not under GIT"<br>
SYSTEM:<br> OS:            posix Linux 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011<br> Distribution:  Ubuntu/11.04/natty<br>EXTERNALS:<br> Present:       atlas_fsl, cPickle, ctypes, good scipy.stats.rdist, good scipy.stats.rv_discrete.ppf, griddata, gzip, h5py, libsvm, libsvm verbosity control, lxml, matplotlib, mdp, mdp ge 2.4, nibabel, nipy, nose, numpy, pylab, pylab plottable, pywt, pywt wp reconstruct, reportlab, running ipython env, scipy, sg ge 0.6.4, sg ge 0.6.5, sg_fixedcachesize, shogun, shogun.krr, shogun.mpd, shogun.svmocas<br>
 Absent:        atlas_pymvpa, elasticnet, glmnet, hcluster, lars, mass, nipy.neurospin, openopt, pprocess, pywt wp reconstruct fixed, rpy2, shogun.lightsvm, shogun.svrlight, skl, weave<br> Versions of critical externals:<br>
  shogun:full : 0.9.3_r4889_2010-05-27_20:52_<br>  shogun:rev  : 4889<br>  nibabel     : 1.1.0<br>  shogun      : 0.9.3<br>  reportlab   : 2.5<br>  matplotlib  : 0.99.3<br>  scipy       : 0.8.0<br>  nipy        : 0.1.2.dev<br>
  ipython     : 0.10.1<br>  mdp         : 2.6<br>  numpy       : 1.5.1<br>  ctypes      : 1.1.0<br>  matplotlib  : 0.99.3<br>  lxml        : 2.3.0<br>  nifti       : failed to query due to "nifti is not a known dependency key."<br>
  numpy       : 1.5.1<br>  pywt        : 0.2.0<br>  shogun      : v0.9.3_r4889_2010-05-27_20:52_<br> Matplotlib backend: TkAgg<br>RUNTIME:<br> PyMVPA Environment Variables:<br>   PyMVPA Runtime Configuration:<br>  [general]<br>
  verbose = 1<br>  <br>  [externals]<br>  have running ipython env = yes<br>  have numpy = yes<br>  have scipy = yes<br>  have matplotlib = yes<br>  have lxml = yes<br>  have nibabel = yes<br>  have atlas_fsl = yes<br>  have atlas_pymvpa = no<br>
  have cpickle = yes<br>  have ctypes = yes<br>  have elasticnet = no<br>  have glmnet = no<br>  have good scipy.stats.rdist = yes<br>  have good scipy.stats.rv_discrete.ppf = yes<br>  have griddata = yes<br>  have gzip = yes<br>
  have h5py = yes<br>  have hcluster = no<br>  have lars = no<br>  have pylab = yes<br>  have libsvm = yes<br>  have libsvm verbosity control = yes<br>  have mass = no<br>  have mdp = yes<br>  have mdp ge 2.4 = yes<br>  have nipy = yes<br>
  have nipy.neurospin = no<br>  have nose = yes<br>  have openopt = no<br>  have pprocess = no<br>  have pylab plottable = yes<br>  have pywt = yes<br>  have pywt wp reconstruct = yes<br>  have pywt wp reconstruct fixed = no<br>
  have reportlab = yes<br>  have rpy2 = no<br>  have sg ge 0.6.4 = yes<br>  have sg ge 0.6.5 = yes<br>  have sg_fixedcachesize = yes<br>  have shogun = yes<br>  have shogun.krr = yes<br>  have shogun.lightsvm = no<br>  have shogun.mpd = yes<br>
  have shogun.svmocas = yes<br>  have shogun.svrlight = no<br>  have skl = no<br>  have weave = no<br> Process Information:<br>  Name:    ipython<br>  State:    R (running)<br>  Tgid:    2731<br>  Pid:    2731<br>  PPid:    21080<br>
  TracerPid:    0<br>  Uid:    1000    1000    1000    1000<br>  Gid:    1000    1000    1000    1000<br>  FDSize:    256<br>  Groups:    4 20 24 46 112 120 122 1000 <br>  VmPeak:      470652 kB<br>  VmSize:      470652 kB<br>
  VmLck:           0 kB<br>  VmHWM:       78224 kB<br>  VmRSS:       78224 kB<br>  VmData:       66020 kB<br>  VmStk:         256 kB<br>  VmExe:        2236 kB<br>  VmLib:       71284 kB<br>  VmPTE:         892 kB<br>  VmSwap:           0 kB<br>
  Threads:    2<br>  SigQ:    0/16382<br>  SigPnd:    0000000000000000<br>  ShdPnd:    0000000000000000<br>  SigBlk:    0000000000000000<br>  SigIgn:    0000000001001000<br>  SigCgt:    0000000180000002<br>  CapInh:    0000000000000000<br>
  CapPrm:    0000000000000000<br>  CapEff:    0000000000000000<br>  CapBnd:    ffffffffffffffff<br>  Cpus_allowed:    ff<br>  Cpus_allowed_list:    0-7<br>  Mems_allowed:    00000000,00000001<br>  Mems_allowed_list:    0<br>
  voluntary_ctxt_switches:    459<br>  nonvoluntary_ctxt_switches:    115<br><br><br>In [7]: can't invoke "event" command:  application has been destroyed<br>    while executing<br>"event generate $w <<ThemeChanged>>"<br>
    (procedure "ttk::ThemeChanged" line 6)<br>    invoked from within<br>"ttk::ThemeChanged"<br><br><br><br>