# Error in calling SpeedFunctionToPathFilter() in python interfaces

**URL:** https://discourse.itk.org/t/error-in-calling-speedfunctiontopathfilter-in-python-interfaces/1848
**Category:** Engineering
**Tags:** python
**Created:** [May 8, 2019, 8:52am UTC](https://discourse.itk.org/t/error-in-calling-speedfunctiontopathfilter-in-python-interfaces/1848 "2019-05-08T08:52:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jaylee](https://discourse.itk.org/letter_avatar_proxy/v4/letter/j/71e660/32.png) [@jaylee](https://discourse.itk.org/u/jaylee)
#### Post date: [May 8, 2019, 8:52am UTC](https://discourse.itk.org/t/error-in-calling-speedfunctiontopathfilter-in-python-interfaces/1848/1 "2019-05-08T08:52:07Z")

</div>

Hi, all

I have tried to call the function which is vessel centerline function ‘SpeedFunctionToPathFilter()’ with itk python interfaces, but dump error occurred when it was called.  
Would you mind to tell how correct or detour it?

My installation steps is below, it comes from [https://blog.kitware.com/python-package-to-find-vessel-or-tube-centerlines/](https://blog.kitware.com/python-package-to-find-vessel-or-tube-centerlines/)

- install itk 5.0rc2 with pip  
pip install --pre itk

- install itk-minimalpathextraction with pip  
pip install itk-minimalpathextraction

- code

- environment  
os: Ubuntu 18.04, python 3.6

Sincerely,  
JayLee

---

<div class="post-metadata">

### Author: ![matt.mccormick](https://discourse.itk.org/user_avatar/discourse.itk.org/matt.mccormick/32/7_2.png) [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)
#### Post date: [May 10, 2019, 9:33pm UTC](https://discourse.itk.org/t/error-in-calling-speedfunctiontopathfilter-in-python-interfaces/1848/2 "2019-05-10T21:33:53Z")

</div>

Hi JayLee,

Welcome to the ITK community! ☀

Thanks for the report. Python packages interfaces have changed with ITK 5.0rc02 – we will work on updating the `itk-minimalpathextraction` package to work with the new packages.

---

<div class="post-metadata">

### Author: ![jaylee](https://discourse.itk.org/letter_avatar_proxy/v4/letter/j/71e660/32.png) [@jaylee](https://discourse.itk.org/u/jaylee)
#### Post date: [May 11, 2019, 7:26am UTC](https://discourse.itk.org/t/error-in-calling-speedfunctiontopathfilter-in-python-interfaces/1848/3 "2019-05-11T07:26:01Z")

</div>

Hi Matt.

Thanks for kind reply, Please let me know when new update is released.

Sincerely,  
JayLee

---

<div class="post-metadata">

### Author: ![matt.mccormick](https://discourse.itk.org/user_avatar/discourse.itk.org/matt.mccormick/32/7_2.png) [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)
#### Post date: [May 21, 2019, 4:34am UTC](https://discourse.itk.org/t/error-in-calling-speedfunctiontopathfilter-in-python-interfaces/1848/4 "2019-05-21T04:34:37Z")

</div>

Hi JayLee,

Thanks to help from @fbudin, an updated package is now available. 🎉
