<div dir="ltr">Currently yes unfortunately. We have a problem with the packages compiled by Azure which we haven't solved yet, sorry...<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 15, 2020 at 11:01 PM Andrew Mark <<a href="mailto:amark@magneticinsight.com">amark@magneticinsight.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_5136400503070685103WordSection1">
<p class="MsoNormal">Your direct link to the wheel worked. Thanks very much. The build artifacts page did not have links for me. Perhaps it is a permissions issue. The pre-compiled binaries are very convenient. To include CUDA support, is building from source
the only option?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Andrew<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-color:rgb(181,196,223) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12pt;color:black">From: </span></b><span style="font-size:12pt;color:black">Simon Rit <<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.fr</a>><br>
<b>Date: </b>Tuesday, July 14, 2020 at 1:05 PM<br>
<b>To: </b>Andrew Mark <<a href="mailto:amark@magneticinsight.com" target="_blank">amark@magneticinsight.com</a>><br>
<b>Cc: </b>"<a href="mailto:rtk-users@public.kitware.com" target="_blank">rtk-users@public.kitware.com</a>" <<a href="mailto:rtk-users@public.kitware.com" target="_blank">rtk-users@public.kitware.com</a>><br>
<b>Subject: </b>Re: [Rtk-users] Itk and rtk python install issues<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I'm not sure I understand what you mean because I can see them. Python 3.7 for windows is
<a href="https://artprodsu6weu.artifacts.visualstudio.com/A7d2c7669-352e-47e7-8df9-5d603d550ccd/1dc6139f-9415-4c33-9ea8-e8992a5f62d3/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL3NpbW9ucml0L3Byb2plY3RJZC8xZGM2MTM5Zi05NDE1LTRjMzMtOWVhOC1lODk5MmE1ZjYyZDMvYnVpbGRJZC82MjEvYXJ0aWZhY3ROYW1lL1dpbmRvd3NXaGVlbHNfMzcteDY00/content?format=file&subPath=%2Fitk_rtk-2.1.0-cp37-cp37m-win_amd64.whl" target="_blank">
here</a>.<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Tue, Jul 14, 2020 at 9:01 PM Andrew Mark <<a href="mailto:amark@magneticinsight.com" target="_blank">amark@magneticinsight.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Thanks for the quick reply. I unfortunately see no link to download the build artifacts.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Andrew<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<div style="border-color:currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12pt;color:black">From:
</span></b><span style="font-size:12pt;color:black">Simon Rit <<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.fr</a>><br>
<b>Date: </b>Tuesday, July 14, 2020 at 12:16 PM<br>
<b>To: </b>Andrew Mark <<a href="mailto:amark@magneticinsight.com" target="_blank">amark@magneticinsight.com</a>><br>
<b>Cc: </b>"<a href="mailto:rtk-users@public.kitware.com" target="_blank">rtk-users@public.kitware.com</a>" <<a href="mailto:rtk-users@public.kitware.com" target="_blank">rtk-users@public.kitware.com</a>><br>
<b>Subject: </b>Re: [Rtk-users] Itk and rtk python install issues</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I think the current RTK package on pypi is outdated wrt to ITK's. Either you use ITK v5.0.1 or you use the RTK package compiled by the CI. I think
<a href="https://dev.azure.com/simonrit/RTK/_build/results?buildId=621&view=artifacts&type=publishedArtifacts" target="_blank">
this one</a> for example works. We will upload a new version after the ITK v5.1.1 release planned for the end of this week.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Simon<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">On Tue, Jul 14, 2020 at 5:49 PM Andrew Mark <<a href="mailto:amark@magneticinsight.com" target="_blank">amark@magneticinsight.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<div>
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I am an ITK and RTK beginner. I am trying to use itk-rtk (Python). Before attempting to build from source, I decided to try the precompiled binaries. I set up a clean environment
with python3.7 installed (via Miniconda) on Windows 10 and ran the following:<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Python -m pip install itk
<u></u><u></u></p>
<p class="MsoNormal">Python -m pip install itk-rtk<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I verified I could import both packages, and I then attempted to run FirstReconstruction.py, which is part of the RTK repo.
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I got a lazy loading error:<br>
```<u></u><u></u></p>
<p class="MsoNormal">itkPointSetD3 not loaded from module ITKRegistrationCommon because of exception:<u></u><u></u></p>
<p class="MsoNormal">module 'itk.ITKRegistrationCommonPython' has no attribute 'itkPointSetD3'<u></u><u></u></p>
<p class="MsoNormal">Traceback (most recent call last):<u></u><u></u></p>
<p class="MsoNormal"> File "FirstReconstruction.py", line 19, in <module><u></u><u></u></p>
<p class="MsoNormal"> geometry = rtk.ThreeDCircularProjectionGeometry.New()<u></u><u></u></p>
<p class="MsoNormal"> File "C:\Users\amark\Miniconda3\envs\mi\lib\site-packages\itkLazy.py", line 52, in __getattribute__<u></u><u></u></p>
<p class="MsoNormal"> itkBase.LoadModule(module, namespace)<u></u><u></u></p>
<p class="MsoNormal"> File "C:\Users\amark\Miniconda3\envs\mi\lib\site-packages\itkBase.py", line 99, in LoadModule<u></u><u></u></p>
<p class="MsoNormal"> module = loader.load(swig_module_name)<u></u><u></u></p>
<p class="MsoNormal"> File "C:\Users\amark\Miniconda3\envs\mi\lib\site-packages\itkBase.py", line 220, in load<u></u><u></u></p>
<p class="MsoNormal"> module.__loader__.exec_module(module)<u></u><u></u></p>
<p class="MsoNormal"> File "<frozen importlib._bootstrap_external>", line 728, in exec_module<u></u><u></u></p>
<p class="MsoNormal"> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed<u></u><u></u></p>
<p class="MsoNormal"> File "C:\Users\amark\Miniconda3\envs\mi\lib\site-packages\itk\RTKPython.py", line 119, in <module><u></u><u></u></p>
<p class="MsoNormal"> from itkFixedArrayRTKPython import *<u></u><u></u></p>
<p class="MsoNormal"> File "C:\Users\amark\Miniconda3\envs\mi\lib\site-packages\itk\Configuration\..\itkFixedArrayRTKPython.py",<u></u><u></u></p>
<p class="MsoNormal">line 106, in <module><u></u><u></u></p>
<p class="MsoNormal"> import pyBasePython<u></u><u></u></p>
<p class="MsoNormal"> File "C:\Users\amark\Miniconda3\envs\mi\lib\site-packages\itk\Configuration\..\pyBasePython.py", line 8, in<u></u><u></u></p>
<p class="MsoNormal"><module><u></u><u></u></p>
<p class="MsoNormal"> from . import _ITKPyBasePython<u></u><u></u></p>
<p class="MsoNormal">ImportError: attempted relative import with no known parent package<u></u><u></u></p>
<p class="MsoNormal">```<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Does anyone have any insight? Once I get this working, could I expect the precompiled binaries to allow me to run the CUDA accelerated version of this example?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks!<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Andrew<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br>
<a href="https://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">https://public.kitware.com/mailman/listinfo/rtk-users</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote></div>