[Rtk-users] problem with installing RTK and Python

Simon Rit simon.rit at creatis.insa-lyon.fr
Tue Apr 28 18:38:27 EDT 2020


Hi Yannick,
I have added 3.8 in a new PR <https://github.com/SimonRit/RTK/pull/341>.
Our continuous integration has produced a python package which is available
here
<https://dev.azure.com/simonrit/RTK/_build/results?buildId=429&view=artifacts&type=publishedArtifacts>.
It seems to work and it depends on the new ITK 5.1 python package (which
has not even been announced yet!).
I hope this helps,
Simon

On Tue, Apr 28, 2020 at 5:17 PM Simon Rit <simon.rit at creatis.insa-lyon.fr>
wrote:

> Hi Yannick,
> Sorry for the late reply. Actually, we do not have a python 3.8 itk-rtk
> release yet. That's probably the problem here...
> We'll try to provide one asap!
> Simon
>
> On Tue, Apr 21, 2020 at 6:09 PM Yannick Grondin <
> Yannick.Grondin at surgiqual-institute.com> wrote:
>
>> Hi all,
>>
>> I have a problem with installing ITK / RTK with Python
>>
>>
>>
>> I have done:
>>
>> pip install itk
>>
>> pip install itk-rtk
>>
>> (Python 3.8, sys 64 bits)
>>
>>
>>
>> I got the following output or error:
>>
>>
>>
>> pip list
>>
>> Package          Version
>>
>> ---------------- -------
>>
>> itk              5.0.1
>>
>> itk-core         5.0.1
>>
>> itk-filtering    5.0.1
>>
>> itk-io           5.0.1
>>
>> itk-numerics     5.0.1
>>
>> itk-registration 5.0.1
>>
>> itk-segmentation 5.0.1
>>
>> numpy            1.18.3
>>
>> packaging        20.3
>>
>> pip              20.0.2
>>
>> pyparsing        2.4.7
>>
>> scikit-build     0.10.0
>>
>> setuptools       41.2.0
>>
>> six              1.14.0
>>
>> wheel            0.34.2
>>
>>
>>
>> PS C:\WINDOWS\system32> python -m pip install itk-rtk
>>
>> Collecting itk-rtk
>>
>>   Using cached itk-rtk-2.0.1.zip (2.1 MB)
>>
>>     ERROR: Command errored out with exit status 1:
>>
>>      command: 'C:\Python38-x64\python.exe' -c 'import sys, setuptools,
>> tokenize; sys.argv[0] =
>> '"'"'C:\\Users\\myUser\\AppData\\Local\\Temp\\pip-install-9fmwt65s\\itk-rtk\\setup.py'"'"';
>> __file__='"'"'C:\\Users\\myUser\\AppData\\Local\\Temp\\pip-install-9fmwt65s\\itk-rtk\\setup.py'"'"';f=getattr(tokenize,
>> '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
>> '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
>> egg_info --egg-base
>> 'C:\Users\myUser\AppData\Local\Temp\pip-install-9fmwt65s\itk-rtk\pip-egg-info'
>>
>>          cwd:
>> C:\Users\myUser\AppData\Local\Temp\pip-install-9fmwt65s\itk-rtk\
>>
>>     Complete output (8 lines):
>>
>>     running egg_info
>>
>>     creating
>> C:\Users\myUser\AppData\Local\Temp\pip-install-9fmwt65s\itk-rtk\pip-egg-info\itk_rtk.egg-info
>>
>>     writing
>> C:\Users\myUser\AppData\Local\Temp\pip-install-9fmwt65s\itk-rtk\pip-egg-info\itk_rtk.egg-info\PKG-INFO
>>
>>     writing dependency_links to
>> C:\Users\myUser\AppData\Local\Temp\pip-install-9fmwt65s\itk-rtk\pip-egg-info\itk_rtk.egg-info\dependency_links.txt
>>
>>     writing requirements to
>> C:\Users\myUser\AppData\Local\Temp\pip-install-9fmwt65s\itk-rtk\pip-egg-info\itk_rtk.egg-info\requires.txt
>>
>>     writing top-level names to
>> C:\Users\myUser\AppData\Local\Temp\pip-install-9fmwt65s\itk-rtk\pip-egg-info\itk_rtk.egg-info\top_level.txt
>>
>>     writing manifest file
>> 'C:\Users\myUser\AppData\Local\Temp\pip-install-9fmwt65s\itk-rtk\pip-egg-info\itk_rtk.egg-info\SOURCES.txt'
>>
>>     error: package directory 'itk' does not exist
>>
>>     ----------------------------------------
>>
>> ERROR: Command errored out with exit status 1: python setup.py egg_info
>> Check the logs for full command output.
>>
>>
>>
>> Can you see something wrong?
>>
>> Thanks,
>>
>> Y
>>
>> ____________________________
>>
>> [image: SQI_Logo_Mail] <http://www.surgiqual-institute.com/>
>>
>> *Yannick Grondin, PhD*
>>
>> *Radiation Physics R&D Engineer*
>>
>> http://www.surgiqual-institute.com/
>>
>> +33 (0) 4 58 00 38 08
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Rtk-users mailing list
>> Rtk-users at public.kitware.com
>> https://public.kitware.com/mailman/listinfo/rtk-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/rtk-users/attachments/20200429/1e159ead/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 22222 bytes
Desc: not available
URL: <https://public.kitware.com/pipermail/rtk-users/attachments/20200429/1e159ead/attachment-0001.png>


More information about the Rtk-users mailing list