BUG: module 'TubeTK' has no attribute 'swig'

Hello,
Thanks for your effort for InsightToolkit-5.1rc3! And I have installed tubetk with pip install itk-tubetk. The bug was reported when I tested the example ConvertTubesToImage.ipynb

How can I handle the problem?
Thank you for help!
TaoH

@Stephen_Aylward is this expected?

Hello @TaoH,

You should observe this:

What are the versions of the itk packages? Ensure they are updated to 5.1rc3 with:

python -m pip install --upgrade pip
python -m pip install --upgrade --pre itk

Hello,
Thanks for your reply! I confirm that I install InsightToolkit-5.1rc3. And ITKSpatialObjects-SimpleExample.ipynb is no problem for testing, but the bug is reported in ConvertTubesToImage.ipynb.


Best Wishes,
TaoH

Thanks, I will try to reproduce this.

Hello @TaoH,

A new version of itk-tubetk is available – please try

python -m pip install --upgrade itk-tubetk itk itkwidgets

Hello,
Thanks for your efforts! I have run the command that you recommended. However, I have another problem in this project.



I think that this problem is in itk. Colud you provide some advice?

Best Wishes,
TaoH

Hi,

What Python version do you have?

Hello,@ matt.mccormick
The Python version I used is 3.7.4