[pymvpa] NiftiImage import error

Joe Wildenberg jcwildenberg at wisc.edu
Mon Jun 1 16:57:54 UTC 2009


I am just starting to use this software and am having trouble following the
simple examples due to an import error.  I have pyNIfTI installed and can
use that package without problem.  When I try to run the command:

from mvpa.datasets.nifti import NiftiDataset

I get an error saying it cannot import this dataset.  Looking in the file
nifti.py, the error is on the line where NiftiImage is imported from the
pyNIfTI package (below the "trick" used to import it though this file has
the same name).  It seems this trick is not working, supported by the fact
that I can import NiftiImage (using the exact same command that fails in the
file nifti.py) from the interpreter immediately after the above statement
fails.

Any suggestions on how to get this import statement working (or why the
trick doesn't seem to be)?

I am using python-mvpa version 0.4.0, python 2.6.2, pynifti 0.2 all on
ubuntu-jaunty amd-64.

Thanks,
Joe

---
Joe Wildenberg
MD/PhD Trainee - Grad 2
Neuroscience Training Program
Clinical Neuroengineering Training Program
Medical Scientist Training Program
University of Wisconsin-Madison
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20090601/7866da18/attachment.htm>


More information about the Pkg-ExpPsy-PyMVPA mailing list