[Rtk-users] problem with installing RTK and Python

Yannick Grondin Yannick.Grondin at surgiqual-institute.com
Tue Apr 21 10:53:16 EDT 2020


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-inf
o'

         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-inf
o\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

____________________________

 <http://www.surgiqual-institute.com/> SQI_Logo_Mail

Yannick Grondin, PhD

Radiation Physics R&D Engineer

 <http://www.surgiqual-institute.com/> http://www.surgiqual-institute.com/

+33 (0) 4 58 00 38 08

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/rtk-users/attachments/20200421/495e68b0/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/20200421/495e68b0/attachment-0001.png>


More information about the Rtk-users mailing list