[ITK] [ITK-users] Hello World ITK Python

michkapopoff at gmail.com michkapopoff at gmail.com
Thu Jul 23 02:09:08 EDT 2015


The problem is probably happening during the linking step.
We link all the submodules in bigger modules (_ITKModulename.so).

That worked nicely in python 2 but I was not able to understand why it
is no more working with python 3. There are some discussions if you
google for it describing problems with the underscore before the
module name when going from python 2 to 3, but the hints in there
did not help in our case.

I tried to follow how the modules are loaded. A good tool for this is
to check sys.modules or the sys.path. Hope that can help.

Michka


> On 22 Jul 2015, at 22:16, Siavash Khallaghi <siavashk at ece.ubc.ca> wrote:
> 
> LOL. I was wondering why the %PATH% variable was defined like that in the
> software guide. Other than that, I think the guide was perfect by the way.
> It is very easy to understand and follow.
> 
> I will try to look into this over the weekend, and see if I can come up with
> a solution for the import module.
> 
> Siavash
> 
> 
> 
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Hello-World-ITK-Python-tp7587597p7587617.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users

_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list