<div dir="ltr">Thanks for getting back to me.. I am not sure how to use the build.sh. Am i to create those variables mentioned in that file? <div><br></div><div>In the previous mail, I forgot to mention after I compiled, I tried what you suggest here</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">cd ${BUILD_DIR}/SimpleITK-build/</span><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">Wrapping</span><br style="font-family:arial,sans-serif;font-size:13.333333969116211px"><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">${PYTHON} PythonPackage/setup.py install</span><br></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">The last few lines of the output is shown below</span></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></span></div><div>







<p class="">Installed /Users/dagarshali/anaconda/lib/python2.7/site-packages/SimpleITK-0.9.0.dev584-py2.7-macosx-10.5-x86_64.egg</p>
<p class="">Processing dependencies for SimpleITK==0.9.0.dev584</p>
<p class="">Finished processing dependencies for SimpleITK==0.9.0.dev584</p><p class="">However, when i import simple itk in python, </p><p class="">import SimpleITK as sitk</p><p class="">Fatal Python error: PyThreadState_Get: no current thread</p><p class="">









</p><p class="">Abort trap: 6</p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 9, 2014 at 9:41 PM, Matt McCormick <span dir="ltr"><<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi dagarshall,<br>
<br>
There is a SimpleITK recipe for conda [1].  To install it from a<br>
manual build, use the same commands at the end of build.sh:<br>
<br>
cd ${BUILD_DIR}/SimpleITK-build/Wrapping<br>
${PYTHON} PythonPackage/setup.py install<br>
<br>
HTH,<br>
Matt<br>
<br>
[1] <a href="https://github.com/conda/conda-recipes/tree/master/simpleitk" target="_blank">https://github.com/conda/conda-recipes/tree/master/simpleitk</a><br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Sep 9, 2014 at 10:33 PM, dagarshali <<a href="mailto:dagarshali@gmail.com">dagarshali@gmail.com</a>> wrote:<br>
> I downloaded the source code for simple itk and complied it as instructed. In<br>
> the cmake configuration, I changed the python paths according to using the<br>
> python distribution of anaconda. I was able to compile it. I have attached a<br>
> snapshot of the cmake configuration<br>
> <<a href="http://itk-insight-users.2283740.n2.nabble.com/file/n7586179/Screen_Shot_2014-09-09_at_3.png" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/file/n7586179/Screen_Shot_2014-09-09_at_3.png</a>><br>
> I am not sure what to do after the compiling.. If I enter import SimpleITK<br>
> as sitk, I get a fatal python error. Can anybody please suggest how to<br>
> overcome this problem?Thanks in advance.dagarshali<br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/using-simpleITK-with-anaconda-python-distribution-tp7586179.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/using-simpleITK-with-anaconda-python-distribution-tp7586179.html</a><br>
> Sent from the ITK Insight Users mailing list archive at Nabble.com.<br>
> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br></div>