[pymvpa] scipy problem at installation

patrik andersson andersson.j.p at gmail.com
Wed Feb 3 12:55:06 UTC 2010


Hi,

I wonder if someone have the time to help me with a very basic question.
I am trying to install the pymvpa 0.4.4 version for windows but get
problems when installing scipy. I have a Vista machine with python
2.5.4 and numpy-1.4.0-win32-superpack-python2.5 etc.
Without scipy installed I get:

>>> from mvpa.suite import *
>>> mvpa.wtf()
Current date:   2010-02-03 13:50
PyMVPA:
 Version:       0.4.4
 Path:          C:\Python25\lib\site-packages\mvpa\__init__.pyc
 Version control (GIT):
 GIT information could not be obtained due
"C:\Python25\lib\site-packages\mvpa\.. is not under GIT"
SYSTEM:
 OS:            nt Windows Vista 6.0.6001
 Distribution:    6.0.6001/SP1/Multiprocessor Free
EXTERNALS:
 Present:       cPickle, ctypes, griddata, gzip, libsvm, libsvm
verbosity control, matplotlib, nifti, nifti ge 0.20090205.1, numpy,
pylab, pylab plottable, rpy
 Absent:        atlas_fsl, atlas_pymvpa, elasticnet, glmnet, good
scipy.stats.rdist, good scipy.stats.rv_discrete.ppf, hcluster, lars,
lxml, mdp, mdp ge 2.4, nose, openopt, pywt, pywt wp reconstruct, pywt
wp reconstruct fixed, reportlab, running ipython env, scipy, sg ge
0.6.4, sg_fixedcachesize, shogun, shogun.krr, shogun.lightsvm,
shogun.mpd, shogun.svrlight, weave
 Versions of critical externals:
  ctypes      : 1.0.3
  matplotlib  : 0.99.1.1
  nifti       : 0.20090303.1
  numpy       : 1.4.0
  rpy         : 1.0.3
 Matplotlib backend: TkAgg
RUNTIME:
 PyMVPA Environment Variables:
 PyMVPA Runtime Configuration:
  [externals]
  have griddata = yes
  have good scipy.stats.rdist = no
  have pylab plottable = yes
  have pywt wp reconstruct = no
  have pywt = no
  have lxml = no
  have running ipython env = no
  have ctypes = yes
  have sg_fixedcachesize = no
  have elasticnet = no
  have shogun.mpd = no
  have matplotlib = yes
  have pywt wp reconstruct fixed = no
  have scipy = no
  have reportlab = no
  have openopt = no
  have libsvm = yes
  have shogun.krr = no
  have nifti ge 0.20090205.1 = yes
  have nose = no
  have weave = no
  have atlas_fsl = no
  have mdp = no
  have hcluster = no
  have sg ge 0.6.4 = no
  have good scipy.stats.rv_discrete.ppf = no
  have libsvm verbosity control = yes
  have mdp ge 2.4 = no
  have shogun.svrlight = no
  have rpy = yes
  have shogun = no
  have glmnet = no
  have lars = no
  have atlas_pymvpa = no
  have nifti = yes
  have cpickle = yes
  have numpy = yes
  have pylab = yes
  have shogun.lightsvm = no
  have gzip = yes

  [general]
  verbose = 1



But after installing scipy-0.7.1-win32-superpack-python2.5 I get:

>>> from mvpa.suite import *

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    from mvpa.suite import *
  File "C:\Python25\Lib\site-packages\mvpa\suite.py", line 38, in <module>
    from mvpa.algorithms.cvtranserror import *
  File "C:\Python25\Lib\site-packages\mvpa\algorithms\cvtranserror.py",
line 15, in <module>
    from mvpa.measures.base import DatasetMeasure
  File "C:\Python25\Lib\site-packages\mvpa\measures\base.py", line 31,
in <module>
    from mvpa.clfs.stats import autoNullDist
  File "C:\Python25\Lib\site-packages\mvpa\clfs\stats.py", line 454, in <module>
    from mvpa.support.stats import scipy
  File "C:\Python25\Lib\site-packages\mvpa\support\stats.py", line 21,
in <module>
    import scipy.stats
  File "C:\Python25\lib\site-packages\scipy\stats\__init__.py", line
7, in <module>
    from stats import *
  File "C:\Python25\lib\site-packages\scipy\stats\stats.py", line 203,
in <module>
    from morestats import find_repeats #is only reference to scipy.stats
  File "C:\Python25\lib\site-packages\scipy\stats\morestats.py", line
7, in <module>
    import distributions
  File "C:\Python25\lib\site-packages\scipy\stats\distributions.py",
line 27, in <module>
    import vonmises_cython
  File "numpy.pxd", line 30, in scipy.stats.vonmises_cython
(scipy\stats\vonmises_cython.c:2939)
ValueError: numpy.dtype does not appear to be the correct type object




Is there an obvious solution to this? Any help very much appreciated.

Cheers,
Patrik



More information about the Pkg-ExpPsy-PyMVPA mailing list