[pymvpa] trouble importing mvpa2.suite

Anna Manelis anna.manelis at gmail.com
Wed Sep 13 12:29:43 UTC 2017


Dear PYMVPA developers,

I have installed mvpa2 on my Debian computer, but cannot import mvpa2.suite
for some reason.

>>> *import mvpa2.suite as mvpa2*

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.7/mvpa2/suite.py", line 98, in <module>
    from mvpa2.clfs.warehouse import *
  File "/usr/lib/pymodules/python2.7/mvpa2/clfs/warehouse.py", line 357, in
<module>
    sklPLSRegression = _skl_import('pls', 'PLSRegression')
  File "/usr/lib/pymodules/python2.7/mvpa2/clfs/warehouse.py", line 313, in
_skl_import
    submod_ = __import__('sklearn.%s' % submod, fromlist=[submod])
ImportError: No module named pls


There is no error message for
>>> *import mvpa2 *

Below is the output of

>>> *mvpa2.wtf()*

/usr/lib/python2.7/dist-packages/nose/util.py:14: DeprecationWarning: The
compiler package is deprecated and removed in Python 3.x.
  from compiler.consts import CO_GENERATOR
Current date:   2017-09-13 08:17
PyMVPA:
 Version:       2.1.0
 Hash:          828f4b4bea2488f8c7e3f6c2446a445d77325338
 Path:          /usr/lib/pymodules/python2.7/mvpa2/__init__.pyc
 Version control (GIT):
 GIT information could not be obtained due
"/usr/lib/pymodules/python2.7/mvpa2/.. is not under GIT"
SYSTEM:
 OS:            posix Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.89-2
 Distribution:  debian/7.11
EXTERNALS:
 Present:       atlas_fsl, cPickle, ctypes, good scipy.stats.rdist, good
scipy.stats.rv_discrete.ppf, griddata, gzip, h5py, ipython, liblapack.so,
libsvm, libsvm verbosity control, lxml, matplotlib, mdp, mdp ge 2.4,
nibabel, nose, numpy, pylab, pylab plottable, pywt, pywt wp reconstruct,
reportlab, scipy, skl, statsmodels, weave
 Absent:        atlas_pymvpa, cran-energy, elasticnet, glmnet, hcluster,
lars, mass, nipy, nipy.neurospin, openopt, pprocess, pywt wp reconstruct
fixed, rpy2, running ipython env, sg ge 0.6.4, sg ge 0.6.5,
sg_fixedcachesize, shogun, shogun.krr, shogun.lightsvm, shogun.mpd,
shogun.svmocas, shogun.svrlight
 Versions of critical externals:
  reportlab   : 2.5
  nibabel     : 2.0.2
  matplotlib  : 1.1.1rc2
  scipy       : 0.10.1
  ipython     : 0.13.1
  skl         : 0.16.1
  mdp         : 3.4
  numpy       : 1.6.2
  ctypes      : 1.1.0
  matplotlib  : 1.1.1rc2
  lxml        : 2.3.2
  nifti       : failed to query due to "nifti is not a known dependency
key."
  numpy       : 1.6.2
  pywt        : 0.2.0
 Matplotlib backend: TkAgg
RUNTIME:
 PyMVPA Environment Variables:
  PYTHONPATH          :
":/usr/lib/python2.7/lib-old:/usr/local/lib/python2.7/dist-packages:/data:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/dist-packages/gtk-2.0:/home/manelisa/.python27_compiled:/usr/lib/python2.7/dist-packages:/usr/lib/pymodules/python2.7:/usr/lib/python2.7/dist-packages/IPython/extensions:/usr/lib/python2.7:/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/dist-packages/PIL"
 PyMVPA Runtime Configuration:
  [general]
  verbose = 1

  [externals]
  have running ipython env = no
  have numpy = yes
  have scipy = yes
  have matplotlib = yes
  have h5py = yes
  have reportlab = yes
  have weave = yes
  have good scipy.stats.rdist = yes
  have good scipy.stats.rv_discrete.ppf = yes
  have pylab = yes
  have lars = no
  have elasticnet = no
  have glmnet = no
  have skl = yes
  have ctypes = yes
  have libsvm = yes
  have shogun = no
  have lxml = yes
  have nibabel = yes
  have atlas_fsl = yes
  have atlas_pymvpa = no
  have cpickle = yes
  have cran-energy = no
  have griddata = yes
  have gzip = yes
  have hcluster = no
  have ipython = yes
  have liblapack.so = yes
  have libsvm verbosity control = yes
  have mass = no
  have mdp = yes
  have mdp ge 2.4 = yes
  have nipy = no
  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 rpy2 = no
  have sg ge 0.6.4 = no
  have sg ge 0.6.5 = no
  have sg_fixedcachesize = no
  have shogun.krr = no
  have shogun.lightsvm = no
  have shogun.mpd = no
  have shogun.svmocas = no
  have shogun.svrlight = no
  have statsmodels = yes
 Process Information:
  Name:    python
  State:    R (running)
  Tgid:    11329
  Pid:    11329
  PPid:    9870
  TracerPid:    0
  Uid:    1000    1000    1000    1000
  Gid:    1000    1000    1000    1000
  FDSize:    256
  Groups:    24 25 29 30 44 46 104 109 112 1000
  VmPeak:      661320 kB
  VmSize:      661320 kB
  VmLck:           0 kB
  VmPin:           0 kB
  VmHWM:      111160 kB
  VmRSS:      111160 kB
  VmData:      128480 kB
  VmStk:         132 kB
  VmExe:        2396 kB
  VmLib:       64668 kB
  VmPTE:        1224 kB
  VmSwap:           0 kB
  Threads:    6
  SigQ:    0/257267
  SigPnd:    0000000000000000
  ShdPnd:    0000000000000000
  SigBlk:    0000000000000000
  SigIgn:    0000000001001000
  SigCgt:    0000000180000002
  CapInh:    0000000000000000
  CapPrm:    0000000000000000
  CapEff:    0000000000000000
  CapBnd:    ffffffffffffffff
  Cpus_allowed:    f
  Cpus_allowed_list:    0-3
  Mems_allowed:    00000000,00000001
  Mems_allowed_list:    0
  voluntary_ctxt_switches:    1627
  nonvoluntary_ctxt_switches:    217

>>> 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"


Any advice on how to fix the problem will be greatly appreciated.
Thank you,
Anna.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20170913/b1c3c65e/attachment.html>


More information about the Pkg-ExpPsy-PyMVPA mailing list