[Pkg-exppsy-pynifti] installation problem
Shengwei Zhang
zswgzx at yahoo.com.cn
Tue Apr 28 21:32:24 UTC 2009
Hi, I'm new to pynifti, and I'm trying to use a software that requires it. When I'm trying to compile it from source, there're some problems.
First, how can I specify --include-dirs and --library-dirs options to build the command like :python setup.py build ? Do I need to specify them when using 'sudo python ... install'?
I've downloaded the python 2.5, swig 1.3.39, nifticlib and numpy, the first three are installed. But the numpy seems to need a fortran compiler and I'm not sure if it is installed successfully. Also I type 'python setup.py build' and 'sudo python ... install' to build the file, but when I fire up python and 'import nifti', the error message below appears:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "nifti/__init__.py", line 38, in <module>
from niftiimage import NiftiImage
File "nifti/niftiimage.py", line 15, in <module>
import nifticlib
File "nifti/nifticlib.py", line 39, in <module>
import _nifticlib
ImportError: No module named _nifticlib
I run it on Linux and have no idea what to do with it. hope that you can help me out. Thanks a lot!
Regards,
Shengwei Zhang
___________________________________________________________
好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pynifti/attachments/20090429/bdd9cef7/attachment.htm>
More information about the Pkg-exppsy-pynifti
mailing list