<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt;color:#000000;">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. <div><br></div><div>First, how can I <span class="Apple-style-span" style="font-family: Arial; line-height: 24px; ">specify <tt class="docutils literal" style="font-family: Consolas, 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.95em; letter-spacing: 0.01em; background-color: rgb(242, 242, 242); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(221, 221, 221); color: rgb(51, 51, 51); "><span class="pre">--include-dirs</span></tt> and <tt class="docutils literal" style="font-family: Consolas, 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.95em;
letter-spacing: 0.01em; background-color: rgb(242, 242, 242); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(221, 221, 221); color: rgb(51, 51, 51); "><span class="pre">--library-dirs </span></tt>options to build the command like :<span class="Apple-style-span" style="font-family: Consolas; font-size: 15px; line-height: 18px; white-space: pre; ">python setup.py build<span class="Apple-style-span" style="font-family: Arial; font-size: 16px; line-height: 24px; white-space: normal; "> ? Do I need to specify them when using 'sudo python ... install'?</span></span></span><div><font class="Apple-style-span" face="Arial"><span class="Apple-style-span" style="line-height: 24px;"><br></span></font></div><div><span class="Apple-style-span" style="font-family: Arial; line-height: 24px; ">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 '<span class="Apple-style-span" style="font-family: Consolas; font-size: 15px; line-height: 18px; white-space: pre; ">python setup.py build' and '<span class="Apple-style-span" style="font-family: Arial; font-size: 16px; line-height: 24px; white-space: normal; ">sudo python ... install' to build the file, but when I fire up python and 'import nifti', the error message below appears:</span></span></span></div><div><font class="Apple-style-span" face="Arial"><span class="Apple-style-span" style="line-height: 24px;"><br></span></font></div><div><font class="Apple-style-span" face="Arial"><span class="Apple-style-span" style="line-height: 24px;"><div>Traceback (most recent call last):</div><div> File "<stdin>", line 1, in <module></div><div> File "nifti/__init__.py", line 38, in <module></div><div> from niftiimage import NiftiImage</div><div> File "nifti/niftiimage.py",
line 15, in <module></div><div> import nifticlib</div><div> File "nifti/nifticlib.py", line 39, in <module></div><div> import _nifticlib</div><div>ImportError: No module named _nifticlib</div><div><br></div></span></font></div><div><span class="Apple-style-span" style="font-family: Arial; line-height: 24px; ">I run it on Linux and have no idea what to do with it. hope that you can help me out. Thanks a lot! <br></span><div> </div><div>Regards,</div><div>Shengwei Zhang</div><br><div><br></div><div style="position:fixed"></div></div></div></div><br>
<hr size=1><a href="http://cn.rd.yahoo.com/mail_cn/tagline/card/*http://card.mail.cn.yahoo.com/"> 好玩贺卡等你发,邮箱贺卡全新上线!</a></body></html>