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