[Insight-users] ImportError: No module named ITKMetricsv4Python

Brett Tully brett.tully at oxyntix.com
Tue Oct 2 11:49:44 EDT 2012


Dear all,

I have built ITK from source, and I believe that it has succeeded (some the
C++ examples run with no problems). However, I am trying to use ITK through
Python and I get the following error:

>>> import InsightToolkit as itk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/ITK-4.2/Python/InsightToolkit.py", line 77, in
<module>
    from ITKMetricsv4Python import *
ImportError: No module named ITKMetricsv4Python

I have tried searching the web, and have compiled with various different
options, but I can't seem to get it to work. I am sure that the related C++
has compiled, as ./ITKMetricsv4TestDriver runs just fine...

Am I missing something obvious?

Thanks,
Brett.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121002/448e381c/attachment.htm>


More information about the Insight-users mailing list