Hi Matt,<br><br>Thanks for the advice. However, when I run setup.py with:<br>python SimpleITK-build/Wrapping/PythonPackage/setup.py install<br><br> while in the build directory I get a shared library _SimpleITK.so written to my dist_packages folder, and I am able to import _SimpleITK when I launch ipython.<br>
However, I am still not able to import SimpleITK. I get a module not found error if I try import SimpleITK.<br><br>If I then run easy_install SimpleITK while in the build directory it believes SimpleITK is installed,and it gives me the following message:<br>
Searching for SimpleITK<br>Best match: SimpleITK 0.3.0<br>Processing SimpleITK-0.3.0-py2.7.egg<br>SimpleITK 0.3.0 is already the active version in easy-install.pth<br><br>Using /usr/local/lib/python2.7/dist-packages/SimpleITK-0.3.0-py2.7.egg<br>
Processing dependencies for SimpleITK<br>Finished processing dependencies for SimpleITK<br><br><br>Did I miss a step in the installation? Should there be a SimpleITK.so in my dist_packages in addition to _SimpleITK.so?<br>
<br>Nick<br><br><div class="gmail_quote">On Wed, Nov 2, 2011 at 11:44 AM, Matt McCormick <span dir="ltr"><<a href="mailto:matt.mccormick@kitware.com">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;">
Hey Nick,<br>
<br>
Try<br>
<br>
<br>
<br>
Otherwise, binaries are available, so you could have just done<br>
<br>
easy_install SimpleITK<br>
<br>
and it should grab the binary from the web and install it without<br>
building anything.<br>
<br>
Ciao,<br>
Matt<br>
<div><div></div><div class="h5"><br>
On Wed, Nov 2, 2011 at 12:36 PM, Nick Rubert <<a href="mailto:ncrubert@gmail.com">ncrubert@gmail.com</a>> wrote:<br>
> Hi listserve,<br>
><br>
> I am running Ubuntu 11.10, and I am trying to install SimpleITK for use in<br>
> python 2.7. I've downloaded the source off of github.<br>
><br>
> I run ccmake in the SuperBuild directory and turn off all wrapping except<br>
> for python.<br>
> If I run make then all is compiled without errors.<br>
> However, when I try to run make install I get an error. I am told there is<br>
> no rule for install.<br>
> Also, if I try to import SimpleITK into Python I get a module not found<br>
> error.<br>
><br>
> Are there any special steps for installing SimpleITK?<br>
><br>
> NIck Rubert<br>
><br>
</div></div>> _____________________________________<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.html" target="_blank">http://www.kitware.com/products/protraining.html</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://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
><br>
><br>
</blockquote></div><br>