Hi, Can you list your itk packages with the corresponding versions (pip list | grep itk)? ITK has recently released new packages and the "old" RTK packages might be incompatible... To avoid this, you can specify that the previous RC version of ITK should be used, i.e. 5.4rc1. Can you confirm that this is the problem? In which case, I'll quickly work on new RTK packages. Thanks for the report, Simon
On Thu, Nov 2, 2023 at 3:41 PM Valentin Hamaide < valentin.hama...@iba-group.com> wrote: > Hello, > > > > I am facing some problems to run rtk with python (both cpu and gpu > version) on windows. > > Using a new conda environment: > > conda create --name test_rtk_cpu python=3.9 #installs > python3.9.16 > > conda activate test_rtk_cpu > > pip install itk-rtk > > > > When I try to run a few lines from a python terminal, e.g.: > > >>> import itk > > >>> from itk import RTK as rtk > > >>> CPUImageType = rtk.Image[itk.F,3] > > > > The third line runs for about 10 seconds and then my python terminal > closes unexpectedly without any error message. What is even weirder, is > that sometimes it works, sometimes it doesn’t (most of the time does not > work). > > I have similar issues with the GPU version (pip install itk-rtk-cuda116), > i.e. sometimes it works sometimes it does not. > > The problem is not strictly related to the 3rd line, any function which > calls rtk (e.g. rtk.ThreeDCircularProjectionGeometry.New(), rtk.CudaImage, > etc.) causes the same issue. > > > > Any idea why and how to solve this? > > > > Best, > > Valentin > _______________________________________________ > Rtk-users mailing list > rtk-us...@openrtk.org > https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users >
_______________________________________________ Rtk-users mailing list rtk-us...@openrtk.org https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users