<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Chirs,<div><br></div><div>The VM for the tutorial was keep as small as possible, so the VM did not contain the testing data submodule. This issue is addressed ing the FAQ here:</div><div><br></div><div><a href="http://www.vtk.org/Wiki/ITK_Release_4/SimpleITK/FAQ#Why_are_so_many_tests_failing.3F">http://www.vtk.org/Wiki/ITK_Release_4/SimpleITK/FAQ#Why_are_so_many_tests_failing.3F</a></div><div><br></div><div>Unfortunately, the error you are reporting is not as simple as above. Can you please tell us about your system: OS, python version, and compiler. Also please tell us how you have configured SimpleITK, and are you using the super build as described here:</div><div><br></div><div><a href="http://www.vtk.org/Wiki/ITK_Release_4/SimpleITK/GettingStarted#Build_It_Yourself">http://www.vtk.org/Wiki/ITK_Release_4/SimpleITK/GettingStarted#Build_It_Yourself</a></div><div><br></div><div>Brad</div><div><br><div><div>On Jan 31, 2012, at 9:51 AM, Christopher Wyatt wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>I have been trying to build SimpleITK and use the Python bindings but have had some issues<br>(Ubuntu Linux). All the Python tests fail. When trying to figure out the problem I noticed <br>when using the MICCAI tutorial virtual machine that the tests fail as well.<br><br>After starting the VM<br>cd ~/Source/SimpleITK-build/SimpleITK-build<br>make test<br>Python. ... (Failed)<br><br>However when I start ipython on the VM it works fine so I think there is some Python path magic<br>I am missing. In particular I don't have a /Wrapping directory in my SimpleITK build.<br><br>Here is the error I get when I activate the virtualenv in <br>~/SimpleITK-Build/SimpleITK-build/Testing/Installation/PythonVirtualenv<br>start python and try to import SimpleITK<br>ImportError:dynamic module does not define init function (init_SimpleITK)<br><br>Any pointers to a solution is appreciated.<br><br>-- chris.<br><br>P.S. I would also like to take this opportunity to thank all the ITK<br>devs who worked on ITK 4 and SimpleITK.<br><br><br><br><br>_____________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://www.kitware.com/products/protraining.html<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.itk.org/mailman/listinfo/insight-users<br></div></blockquote></div><br><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 12px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">========================================================</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Bradley Lowekamp<span class="Apple-converted-space"> </span><span class="Apple-converted-space"> </span></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Medical Science and Computing for</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Office of High Performance Computing and Communications</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">National Library of Medicine<span class="Apple-converted-space"> </span></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; "><a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a></font></p><br class="Apple-interchange-newline"></span></div><br class="Apple-interchange-newline">
</div>
<br></div></body></html>