[Rtk-users] RTK for Python : installation failed

Simon Rit simon.rit at creatis.insa-lyon.fr
Tue Apr 2 03:44:34 EDT 2019


I'm surprised that it mentions win32. Is the used python 64 bit?

On Tue, Apr 2, 2019 at 9:41 AM Yannick Grondin <
Yannick.Grondin at surgiqual-institute.com> wrote:

> Hi Simon,
>
>
>
> No, it is a 64-bit machine (with Windows 10).
>
> Thanks anyway, I will ask to ITK.
>
> Regards,
>
> Yannick
>
>
>
>
>
> *De :* Simon Rit [mailto:simon.rit at creatis.insa-lyon.fr]
> *Envoyé :* mardi 2 avril 2019 09:07
> *À :* Yannick Grondin
> *Cc :* rtk-users
> *Objet :* Re: [Rtk-users] RTK for Python : installation failed
>
>
>
> Hi Yannick,
>
> It's weird, it's trying to compile the package and I have no idea why. Are
> you on a 32-bit machine? It may be the cause, there is no pre-compiled
> version for (old) 32-bit Windows.
>
> Since it's an ITK problem, I think the best is to ask the specialists on
> http://discourse.itk.org/.
>
> Simon
>
>
>
> On Tue, Apr 2, 2019 at 12:02 AM Yannick Grondin <
> Yannick.Grondin at surgiqual-institute.com> wrote:
>
> Hi RTK users,
>
>
>
> We have an installation which failed, although we followed the following
> commands for Python :
>
>
>
> python -m pip install --upgrade pip
> python -m pip install --upgrade --pre itk
> python -m pip install itk-rtk
>
>
>
> it failed after : python -m pip install --upgrade --pre itk
>
>
>
> the error message is at the end of this email.
>
> Do you have any idea of what we are doing wrong?
>
>
>
> Thanks,
>
>
>
> Yannick
>
> ____________________________
>
> [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
>
>
>
> Collecting itk
>
>   Using cached
> https://files.pythonhosted.org/packages/69/e3/4b25d14a0637696193a57ca5838c5e465b31024935eace2457188d8c9071/itk-5.0rc1.tar.gz
>
> Building wheels for collected packages: itk
>
>   Building wheel for itk (setup.py): started
>
>   Building wheel for itk (setup.py): still running...
>
>   Building wheel for itk (setup.py): finished with status 'error'
>
>   Complete output from command D:\Softwares\python\python.exe -u -c
> "import setuptools,
> tokenize;__file__='C:\\Users\\kouka\\AppData\\Local\\Temp\\pip-install-byycnry8\\itk\\setup.py';f=getattr(tokenize,
> 'open', open)(__file__);code=f.read().replace('\r\n',
> '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d
> C:\Users\kouka\AppData\Local\Temp\pip-wheel-g_09lifp --python-tag cp37:
>
>
>
>
>
>
>   --------------------------------------------------------------------------------
>
>   -- Trying "Ninja" generator
>
>   --------------------------------
>
>   ---------------------------
>
>   ----------------------
>
>   -----------------
>
>   ------------
>
>   -------
>
>   --
>
>   Not searching for unused variables given on the command line.
>
>   -- The C compiler identification is MSVC 19.16.27027.1
>
>   -- Check for working C compiler:
> D:/Softwares/visualstudio/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
>
>   -- Check for working C compiler:
> D:/Softwares/visualstudio/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
> -- works
>
>   -- Detecting C compiler ABI info
>
>   -- Detecting C compiler ABI info - done
>
>   -- Detecting C compile features
>
>   -- Detecting C compile features - done
>
>   -- The CXX compiler identification is MSVC 19.16.27027.1
>
>   -- Check for working CXX compiler:
> D:/Softwares/visualstudio/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
>
>   -- Check for working CXX compiler:
> D:/Softwares/visualstudio/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
> -- works
>
>   -- Detecting CXX compiler ABI info
>
>   -- Detecting CXX compiler ABI info - done
>
>   -- Detecting CXX compile features
>
>   -- Detecting CXX compile features - done
>
>   -- Configuring done
>
>   -- Generating done
>
>   -- Build files have been written to:
> C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_cmake_test_compile/build
>
>   --
>
>   -------
>
>   ------------
>
>   -----------------
>
>   ----------------------
>
>   ---------------------------
>
>   --------------------------------
>
>   -- Trying "Ninja" generator - success
>
>
> --------------------------------------------------------------------------------
>
>
>
>   -- SuperBuild - ITKPythonPackage_WHEEL_NAME:itk
>
>   -- SuperBuild -
>
>   -- SuperBuild - ITK-source-download
>
>   -- SuperBuild -   ITK_SOURCE_DIR:
> C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_skbuild/win32-3.7/cmake-build/ITKs
>
>   -- SuperBuild - ITK-source-download[OK]
>
>   -- SuperBuild -
>
>   -- SuperBuild - Searching for python
>
>   -- SuperBuild -   PYTHON_INCLUDE_DIR: D:/Softwares/python/Include
>
>   -- SuperBuild -   PYTHON_LIBRARY: D:/Softwares/python/libs/python37.lib
>
>   -- SuperBuild -   PYTHON_EXECUTABLE: D:/Softwares/python/python.exe
>
>   -- SuperBuild - Searching for python[OK]
>
>   -- SuperBuild -   DOXYGEN_EXECUTABLE:
>
>   -- ITK CMake Cache Args -
>
>   -- SuperBuild -
>
>   -- SuperBuild - ITK => Requires ITK-source-download
>
>   -- SuperBuild -   ITK_BINARY_DIR:
> C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_skbuild/win32-3.7/cmake-build/ITKb
>
>   -- SuperBuild - ITK[OK]
>
>   -- SuperBuild -
>
>   -- SuperBuild - ITKPythonPackage => Requires ITK
>
>   -- SuperBuild - ITKPythonPackage[OK]
>
>   -- Configuring done
>
>   -- Generating done
>
>   -- Build files have been written to:
> C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_skbuild/win32-3.7/cmake-build
>
>   [1/25] Creating directories for 'ITK-source-download'
>
>   [1/25] Performing download step (git clone) for 'ITK-source-download'
>
>   Cloning into 'ITKs'...
>
>   Checking out files:   7% (1177/15746)
>
>   Checking out files:   8% (1260/15746)
>
>   Checking out files:   9% (1418/15746)
>
>   Checking out files:  10% (1575/15746)
>
>   Checking out files:  11% (1733/15746)
>
>   Checking out files:  12% (1890/15746)
>
>   Checking out files:  13% (2047/15746)
>
>   Checking out files:  14% (2205/15746)
>
>   Checking out files:  15% (2362/15746)
>
>   Checking out files:  16% (2520/15746)
>
>   Checking out files:  17% (2677/15746)
>
>   Checking out files:  18% (2835/15746)
>
>   Checking out files:  19% (2992/15746)
>
>   Checking out files:  19% (3139/15746)
>
>   Checking out files:  20% (3150/15746)
>
>   Checking out files:  21% (3307/15746)
>
>   Checking out files:  22% (3465/15746)
>
>   Checking out files:  23% (3622/15746)
>
>   Checking out files:  24% (3780/15746)
>
>   Checking out files:  24% (3837/15746)
>
>   Checking out files:  25% (3937/15746)
>
>   Checking out files:  26% (4094/15746)
>
>   Checking out files:  27% (4252/15746)
>
>   Checking out files:  28% (4409/15746)
>
>   Checking out files:  29% (4567/15746)
>
>   Checking out files:  30% (4724/15746)
>
>   Checking out files:  31% (4882/15746)
>
>   Checking out files:  31% (4925/15746)
>
>   Checking out files:  32% (5039/15746)
>
>   Checking out files:  32% (5149/15746)
>
>   Checking out files:  33% (5197/15746)
>
>   Checking out files:  33% (5232/15746)
>
>   Checking out files:  33% (5240/15746)
>
>   Checking out files:  34% (5354/15746)
>
>   Checking out files:  35% (5512/15746)
>
>   Checking out files:  36% (5669/15746)
>
>   Checking out files:  37% (5827/15746)
>
>   Checking out files:  38% (5984/15746)
>
>   Checking out files:  38% (5998/15746)
>
>   Checking out files:  39% (6141/15746)
>
>   Checking out files:  40% (6299/15746)
>
>   Checking out files:  41% (6456/15746)
>
>   Checking out files:  42% (6614/15746)
>
>   Checking out files:  43% (6771/15746)
>
>   Checking out files:  44% (6929/15746)
>
>   Checking out files:  45% (7086/15746)
>
>   Checking out files:  46% (7244/15746)
>
>   Checking out files:  47% (7401/15746)
>
>   Checking out files:  47% (7428/15746)
>
>   Checking out files:  47% (7429/15746)
>
>   Checking out files:  48% (7559/15746)
>
>   Checking out files:  49% (7716/15746)
>
>   Checking out files:  50% (7873/15746)
>
>   Checking out files:  51% (8031/15746)
>
>   Checking out files:  52% (8188/15746)
>
>   Checking out files:  53% (8346/15746)
>
>   Checking out files:  53% (8399/15746)
>
>   Checking out files:  54% (8503/15746)
>
>   Checking out files:  55% (8661/15746)
>
>   Checking out files:  56% (8818/15746)
>
>   Checking out files:  57% (8976/15746)
>
>   Checking out files:  58% (9133/15746)
>
>   Checking out files:  59% (9291/15746)
>
>   Checking out files:  60% (9448/15746)
>
>   Checking out files:  61% (9606/15746)
>
>   Checking out files:  62% (9763/15746)
>
>   Checking out files:  63% (9920/15746)
>
>   Checking out files:  63% (9969/15746)
>
>   Checking out files:  63% (9984/15746)
>
>   Checking out files:  64% (10078/15746)
>
>   Checking out files:  64% (10189/15746)
>
>   Checking out files:  65% (10235/15746)
>
>   Checking out files:  66% (10393/15746)
>
>   Checking out files:  67% (10550/15746)
>
>   Checking out files:  67% (10653/15746)
>
>   Checking out files:  68% (10708/15746)
>
>   Checking out files:  68% (10820/15746)
>
>   Checking out files:  69% (10865/15746)
>
>   Checking out files:  70% (11023/15746)
>
>   Checking out files:  71% (11180/15746)
>
>   Checking out files:  71% (11275/15746)
>
>   Checking out files:  72% (11338/15746)
>
>   Checking out files:  72% (11456/15746)
>
>   Checking out files:  72% (11483/15746)
>
>   Checking out files:  73% (11495/15746)
>
>   Checking out files:  73% (11518/15746)
>
>   Checking out files:  74% (11653/15746)
>
>   Checking out files:  75% (11810/15746)
>
>   Checking out files:  76% (11967/15746)
>
>   Checking out files:  77% (12125/15746)
>
>   Checking out files:  77% (12246/15746)
>
>   Checking out files:  78% (12282/15746)
>
>   Checking out files:  79% (12440/15746)
>
>   Checking out files:  80% (12597/15746)
>
>   Checking out files:  81% (12755/15746)
>
>   Checking out files:  82% (12912/15746)
>
>   Checking out files:  83% (13070/15746)
>
>   Checking out files:  84% (13227/15746)
>
>   Checking out files:  85% (13385/15746)
>
>   Checking out files:  86% (13542/15746)
>
>   Checking out files:  87% (13700/15746)
>
>   Checking out files:  87% (13831/15746)
>
>   Checking out files:  88% (13857/15746)
>
>   Checking out files:  89% (14014/15746)
>
>   Checking out files:  90% (14172/15746)
>
>   Checking out files:  91% (14329/15746)
>
>   Checking out files:  92% (14487/15746)
>
>   Checking out files:  93% (14644/15746)
>
>   Checking out files:  94% (14802/15746)
>
>   Checking out files:  95% (14959/15746)
>
>   Checking out files:  96% (15117/15746)
>
>   Checking out files:  96% (15233/15746)
>
>   Checking out files:  97% (15274/15746)
>
>   Checking out files:  98% (15432/15746)
>
>   Checking out files:  99% (15589/15746)
>
>   Checking out files: 100% (15746/15746)
>
>   Checking out files: 100% (15746/15746), done.
>
>   Note: checking out '3a11b90d06513'.
>
>
>
>   You are in 'detached HEAD' state. You can look around, make experimental
>
>   changes and commit them, and you can discard any commits you make in this
>
>   state without impacting any branches by performing another checkout.
>
>
>
>   If you want to create a new branch to retain commits you create, you may
>
>   do so (now or later) by using -b with the checkout command again.
> Example:
>
>
>
>     git checkout -b <new-branch-name>
>
>
>
>   HEAD is now at 3a11b90d06 COMP: Avoid duplicate wrapping of
> VectorContainer with unsigned short
>
>   [3/25] No patch step for 'ITK-source-download'
>
>   [4/25] Performing update step for 'ITK-source-download'
>
>   [5/25] No configure step for 'ITK-source-download'
>
>   [6/25] No build step for 'ITK-source-download'
>
>   [7/25] No install step for 'ITK-source-download'
>
>   [8/25] Completed 'ITK-source-download'
>
>   [9/25] Creating directories for 'ITK'
>
>   [9/25] No download step for 'ITK'
>
>   [10/25] No update step for 'ITK'
>
>   [11/25] No patch step for 'ITK'
>
>   [12/25] Performing configure step for 'ITK'
>
>   -- The CXX compiler identification is MSVC 19.16.27027.1
>
>   -- The C compiler identification is MSVC 19.16.27027.1
>
>   -- Check for working CXX compiler:
> D:/Softwares/visualstudio/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
>
>   -- Check for working CXX compiler:
> D:/Softwares/visualstudio/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
> -- works
>
>   -- Detecting CXX compiler ABI info
>
>   -- Detecting CXX compiler ABI info - done
>
>   -- Detecting CXX compile features
>
>   -- Detecting CXX compile features - done
>
>   -- Check for working C compiler:
> D:/Softwares/visualstudio/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
>
>   -- Check for working C compiler:
> D:/Softwares/visualstudio/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
> -- works
>
>   -- Detecting C compiler ABI info
>
>   -- Detecting C compiler ABI info - done
>
>   -- Detecting C compile features
>
>   -- Detecting C compile features - done
>
>   CMake Error at CMakeLists.txt:109 (message):
>
>     ITK source code directory path length is too long (94 > 50).Please
> move the
>
>     ITK source code directory to a directory with a shorter path.
>
>
>
>
>
>   -- Configuring incomplete, errors occurred!
>
>   See also
> "C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_skbuild/win32-3.7/cmake-build/ITKb/CMakeFiles/CMakeOutput.log".
>
>   FAILED: ITKp/src/ITK-stamp/ITK-configure
>
>   cmd.exe /C "cd /D
> C:\Users\kouka\AppData\Local\Temp\pip-install-byycnry8\itk\_skbuild\win32-3.7\cmake-build\ITKb
> && D:\Softwares\cmake\bin\cmake.exe -DBUILD_TESTING:BOOL=OFF
> -DCMAKE_INSTALL_PREFIX:PATH=C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_skbuild/win32-3.7/cmake-install
> -DPY_SITE_PACKAGES_PATH:PATH=C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_skbuild/win32-3.7/cmake-install
> -DWRAP_ITK_INSTALL_COMPONENT_IDENTIFIER:STRING=PythonWheel
> -DWRAP_ITK_INSTALL_COMPONENT_PER_MODULE:BOOL=OFF
> -DITK_LEGACY_SILENT:BOOL=ON -DITK_WRAP_PYTHON:BOOL=ON
> -DITK_WRAP_PYTHON_LEGACY:BOOL=OFF -DITK_WRAP_unsigned_short:BOOL=ON
> -DITK_WRAP_DOC:BOOL=ON -DDOXYGEN_EXECUTABLE:FILEPATH=
> -DPYTHON_INCLUDE_DIR:PATH=D:/Softwares/python/Include
> -DPYTHON_LIBRARY:FILEPATH=D:/Softwares/python/libs/python37.lib
> -DPYTHON_EXECUTABLE:FILEPATH=D:/Softwares/python/python.exe
> -DCMAKE_BUILD_TYPE:STRING=Release
> -DCMAKE_MAKE_PROGRAM:FILEPATH=D:/Softwares/visualstudio/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe
> -GNinja
> C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_skbuild/win32-3.7/cmake-build/ITKs
> && D:\Softwares\cmake\bin\cmake.exe -E touch
> C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_skbuild/win32-3.7/cmake-build/ITKp/src/ITK-stamp/ITK-configure"
>
>   ninja: build stopped: subcommand failed.
>
>   Traceback (most recent call last):
>
>     File
> "D:\Softwares\python\lib\site-packages\skbuild\setuptools_wrap.py", line
> 578, in setup
>
>       cmkr.make(make_args, env=env)
>
>     File "D:\Softwares\python\lib\site-packages\skbuild\cmaker.py", line
> 482, in make
>
>       os.path.abspath(CMAKE_BUILD_DIR())))
>
>
>
>   An error occurred while building with CMake.
>
>     Command:
>
>       "cmake" "--build" "." "--target" "install" "--config" "Release" "--"
>
>     Source directory:
>
>       C:\Users\kouka\AppData\Local\Temp\pip-install-byycnry8\itk
>
>     Working directory:
>
>
> C:\Users\kouka\AppData\Local\Temp\pip-install-byycnry8\itk\_skbuild\win32-3.7\cmake-build
>
>   Please see CMake's output for more information.
>
>
>
>   ----------------------------------------
>
>   Running setup.py clean for itk
>
>   Complete output from command D:\Softwares\python\python.exe -u -c
> "import setuptools,
> tokenize;__file__='C:\\Users\\kouka\\AppData\\Local\\Temp\\pip-install-byycnry8\\itk\\setup.py';f=getattr(tokenize,
> 'open', open)(__file__);code=f.read().replace('\r\n',
> '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all:
>
>   running clean
>
>   '_skbuild\win32-3.7\setuptools\lib' does not exist -- can't clean it
>
>   '_skbuild\win32-3.7\setuptools\bdist.win32' does not exist -- can't
> clean it
>
>   '_skbuild\win32-3.7\setuptools\scripts-3.7' does not exist -- can't
> clean it
>
>   removing '_skbuild\win32-3.7\setuptools'
>
>   removing '_skbuild\win32-3.7\cmake-install'
>
>   removing '_skbuild\win32-3.7\cmake-build'
>
>   error: [WinError 5] Access is denied:
> '_skbuild\\win32-3.7\\cmake-build\\ITKs\\.git\\objects\\pack\\pack-debda3808782fb53135b9fc9cb82b15868dc57b0.idx'
>
>
>
>   ----------------------------------------
>
> Failed to build itk
>
> Installing collected packages: itk
>
>   Running setup.py install for itk: started
>
>     Running setup.py install for itk: still running...
>
>     Running setup.py install for itk: finished with status 'error'
>
>     Complete output from command D:\Softwares\python\python.exe -u -c
> "import setuptools,
> tokenize;__file__='C:\\Users\\kouka\\AppData\\Local\\Temp\\pip-install-byycnry8\\itk\\setup.py';f=getattr(tokenize,
> 'open', open)(__file__);code=f.read().replace('\r\n',
> '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
> C:\Users\kouka\AppData\Local\Temp\pip-record-ri4o36nk\install-record.txt
> --single-version-externally-managed --compile:
>
>
>
>
>
>
>     --------------------------------------------------------------------------------
>
>     -- Trying "Ninja" generator
>
>     --------------------------------
>
>     ---------------------------
>
>     ----------------------
>
>     -----------------
>
>     ------------
>
>     -------
>
>    --
>
>     Not searching for unused variables given on the command line.
>
>     -- The C compiler identification is MSVC 19.16.27027.1
>
>     -- Check for working C compiler:
> D:/Softwares/visualstudio/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
>
>     -- Check for working C compiler:
> D:/Softwares/visualstudio/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
> -- works
>
>     -- Detecting C compiler ABI info
>
>     -- Detecting C compiler ABI info - done
>
>     -- Detecting C compile features
>
>     -- Detecting C compile features - done
>
>     -- The CXX compiler identification is MSVC 19.16.27027.1
>
>     -- Check for working CXX compiler:
> D:/Softwares/visualstudio/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
>
>     -- Check for working CXX compiler:
> D:/Softwares/visualstudio/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
> -- works
>
>     -- Detecting CXX compiler ABI info
>
>     -- Detecting CXX compiler ABI info - done
>
>     -- Detecting CXX compile features
>
>     -- Detecting CXX compile features - done
>
>     -- Configuring done
>
>     -- Generating done
>
>     -- Build files have been written to:
> C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_cmake_test_compile/build
>
>     --
>
>     -------
>
>     ------------
>
>     -----------------
>
>     ----------------------
>
>     ---------------------------
>
>     --------------------------------
>
>     -- Trying "Ninja" generator - success
>
>
> --------------------------------------------------------------------------------
>
>
>
>     -- SuperBuild - ITKPythonPackage_WHEEL_NAME:itk
>
>     -- SuperBuild -
>
>     -- SuperBuild - ITK-source-download
>
>     -- SuperBuild -   ITK_SOURCE_DIR:
> C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_skbuild/win32-3.7/cmake-build/ITKs
>
>     -- SuperBuild - ITK-source-download[OK]
>
>     -- SuperBuild -
>
>     -- SuperBuild - Searching for python
>
>     -- SuperBuild -   PYTHON_INCLUDE_DIR: D:/Softwares/python/Include
>
>     -- SuperBuild -   PYTHON_LIBRARY: D:/Softwares/python/libs/python37.lib
>
>     -- SuperBuild -   PYTHON_EXECUTABLE: D:/Softwares/python/python.exe
>
>     -- SuperBuild - Searching for python[OK]
>
>     -- SuperBuild -   DOXYGEN_EXECUTABLE:
>
>     -- ITK CMake Cache Args -
>
>     -- SuperBuild -
>
>     -- SuperBuild - ITK => Requires ITK-source-download
>
>     -- SuperBuild -   ITK_BINARY_DIR:
> C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_skbuild/win32-3.7/cmake-build/ITKb
>
>     -- SuperBuild - ITK[OK]
>
>     -- SuperBuild -
>
>     -- SuperBuild - ITKPythonPackage => Requires ITK
>
>     -- SuperBuild - ITKPythonPackage[OK]
>
>     -- Configuring done
>
>     -- Generating done
>
>     -- Build files have been written to:
> C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_skbuild/win32-3.7/cmake-build
>
>     [1/25] Creating directories for 'ITK-source-download'
>
>     [1/25] Performing download step (git clone) for 'ITK-source-download'
>
>     Cloning into 'ITKs'...
>
>     Checking out files:  10% (1615/15746)
>
>     Checking out files:  11% (1733/15746)
>
>     Checking out files:  12% (1890/15746)
>
>     Checking out files:  13% (2047/15746)
>
>     Checking out files:  14% (2205/15746)
>
>     Checking out files:  15% (2362/15746)
>
>     Checking out files:  16% (2520/15746)
>
>     Checking out files:  17% (2677/15746)
>
>     Checking out files:  18% (2835/15746)
>
>     Checking out files:  19% (2992/15746)
>
>     Checking out files:  20% (3150/15746)
>
>     Checking out files:  20% (3283/15746)
>
>     Checking out files:  21% (3307/15746)
>
>     Checking out files:  21% (3400/15746)
>
>     Checking out files:  21% (3403/15746)
>
>     Checking out files:  22% (3465/15746)
>
>     Checking out files:  23% (3622/15746)
>
>     Checking out files:  23% (3638/15746)
>
>     Checking out files:  24% (3780/15746)
>
>     Checking out files:  25% (3937/15746)
>
>     Checking out files:  26% (4094/15746)
>
>     Checking out files:  27% (4252/15746)
>
>     Checking out files:  27% (4297/15746)
>
>     Checking out files:  28% (4409/15746)
>
>     Checking out files:  28% (4456/15746)
>
>     Checking out files:  29% (4567/15746)
>
>     Checking out files:  30% (4724/15746)
>
>     Checking out files:  30% (4787/15746)
>
>     Checking out files:  31% (4882/15746)
>
>     Checking out files:  32% (5039/15746)
>
>     Checking out files:  32% (5121/15746)
>
>     Checking out files:  33% (5197/15746)
>
>     Checking out files:  34% (5354/15746)
>
>     Checking out files:  34% (5401/15746)
>
>     Checking out files:  35% (5512/15746)
>
>     Checking out files:  36% (5669/15746)
>
>     Checking out files:  37% (5827/15746)
>
>     Checking out files:  38% (5984/15746)
>
>     Checking out files:  39% (6141/15746)
>
>     Checking out files:  40% (6299/15746)
>
>     Checking out files:  40% (6445/15746)
>
>     Checking out files:  41% (6456/15746)
>
>     Checking out files:  42% (6614/15746)
>
>     Checking out files:  43% (6771/15746)
>
>     Checking out files:  44% (6929/15746)
>
>     Checking out files:  45% (7086/15746)
>
>     Checking out files:  46% (7244/15746)
>
>     Checking out files:  46% (7377/15746)
>
>     Checking out files:  47% (7401/15746)
>
>     Checking out files:  48% (7559/15746)
>
>     Checking out files:  48% (7669/15746)
>
>     Checking out files:  49% (7716/15746)
>
>     Checking out files:  50% (7873/15746)
>
>     Checking out files:  51% (8031/15746)
>
>     Checking out files:  51% (8136/15746)
>
>     Checking out files:  52% (8188/15746)
>
>     Checking out files:  52% (8299/15746)
>
>     Checking out files:  53% (8346/15746)
>
>     Checking out files:  54% (8503/15746)
>
>     Checking out files:  55% (8661/15746)
>
>     Checking out files:  56% (8818/15746)
>
>     Checking out files:  56% (8968/15746)
>
>     Checking out files:  57% (8976/15746)
>
>     Checking out files:  58% (9133/15746)
>
>     Checking out files:  59% (9291/15746)
>
>     Checking out files:  60% (9448/15746)
>
>     Checking out files:  61% (9606/15746)
>
>     Checking out files:  62% (9763/15746)
>
>     Checking out files:  63% (9920/15746)
>
>     Checking out files:  63% (9932/15746)
>
>     Checking out files:  63% (9945/15746)
>
>     Checking out files:  64% (10078/15746)
>
>     Checking out files:  65% (10235/15746)
>
>     Checking out files:  65% (10279/15746)
>
>     Checking out files:  66% (10393/15746)
>
>     Checking out files:  67% (10550/15746)
>
>     Checking out files:  68% (10708/15746)
>
>     Checking out files:  68% (10709/15746)
>
>     Checking out files:  69% (10865/15746)
>
>     Checking out files:  70% (11023/15746)
>
>     Checking out files:  70% (11116/15746)
>
>     Checking out files:  71% (11180/15746)
>
>     Checking out files:  72% (11338/15746)
>
>     Checking out files:  73% (11495/15746)
>
>     Checking out files:  74% (11653/15746)
>
>     Checking out files:  75% (11810/15746)
>
>     Checking out files:  76% (11967/15746)
>
>     Checking out files:  76% (12026/15746)
>
>     Checking out files:  77% (12125/15746)
>
>     Checking out files:  78% (12282/15746)
>
>     Checking out files:  79% (12440/15746)
>
>     Checking out files:  80% (12597/15746)
>
>     Checking out files:  81% (12755/15746)
>
>     Checking out files:  82% (12912/15746)
>
>     Checking out files:  82% (12981/15746)
>
>     Checking out files:  83% (13070/15746)
>
>     Checking out files:  84% (13227/15746)
>
>     Checking out files:  85% (13385/15746)
>
>     Checking out files:  86% (13542/15746)
>
>     Checking out files:  86% (13581/15746)
>
>     Checking out files:  87% (13700/15746)
>
>     Checking out files:  88% (13857/15746)
>
>     Checking out files:  88% (13861/15746)
>
>     Checking out files:  89% (14014/15746)
>
>     Checking out files:  90% (14172/15746)
>
>     Checking out files:  91% (14329/15746)
>
>     Checking out files:  92% (14487/15746)
>
>     Checking out files:  92% (14493/15746)
>
>     Checking out files:  93% (14644/15746)
>
>     Checking out files:  93% (14656/15746)
>
>     Checking out files:  94% (14802/15746)
>
>     Checking out files:  95% (14959/15746)
>
>     Checking out files:  96% (15117/15746)
>
>     Checking out files:  97% (15274/15746)
>
>     Checking out files:  98% (15432/15746)
>
>     Checking out files:  99% (15589/15746)
>
>     Checking out files: 100% (15746/15746)
>
>     Checking out files: 100% (15746/15746), done.
>
>     Note: checking out '3a11b90d06513'.
>
>
>
>     You are in 'detached HEAD' state. You can look around, make
> experimental
>
>     changes and commit them, and you can discard any commits you make in
> this
>
>     state without impacting any branches by performing another checkout.
>
>
>
>     If you want to create a new branch to retain commits you create, you
> may
>
>     do so (now or later) by using -b with the checkout command again.
> Example:
>
>
>
>       git checkout -b <new-branch-name>
>
>
>
>     HEAD is now at 3a11b90d06 COMP: Avoid duplicate wrapping of
> VectorContainer with unsigned short
>
>     [3/25] No patch step for 'ITK-source-download'
>
>     [4/25] Performing update step for 'ITK-source-download'
>
>     [5/25] No configure step for 'ITK-source-download'
>
>     [6/25] No build step for 'ITK-source-download'
>
>     [7/25] No install step for 'ITK-source-download'
>
>     [8/25] Completed 'ITK-source-download'
>
>     [9/25] Creating directories for 'ITK'
>
>     [9/25] No download step for 'ITK'
>
>     [10/25] No update step for 'ITK'
>
>     [11/25] No patch step for 'ITK'
>
>     [12/25] Performing configure step for 'ITK'
>
>     -- The CXX compiler identification is MSVC 19.16.27027.1
>
>     -- The C compiler identification is MSVC 19.16.27027.1
>
>     -- Check for working CXX compiler:
> D:/Softwares/visualstudio/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
>
>     -- Check for working CXX compiler:
> D:/Softwares/visualstudio/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
> -- works
>
>     -- Detecting CXX compiler ABI info
>
>     -- Detecting CXX compiler ABI info - done
>
>     -- Detecting CXX compile features
>
>     -- Detecting CXX compile features - done
>
>     -- Check for working C compiler:
> D:/Softwares/visualstudio/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
>
>     -- Check for working C compiler:
> D:/Softwares/visualstudio/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
> -- works
>
>     -- Detecting C compiler ABI info
>
>     -- Detecting C compiler ABI info - done
>
>     -- Detecting C compile features
>
>     -- Detecting C compile features - done
>
>     CMake Error at CMakeLists.txt:109 (message):
>
>       ITK source code directory path length is too long (94 > 50).Please
> move the
>
>       ITK source code directory to a directory with a shorter path.
>
>
>
>
>
>     -- Configuring incomplete, errors occurred!
>
>     See also
> "C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_skbuild/win32-3.7/cmake-build/ITKb/CMakeFiles/CMakeOutput.log".
>
>     FAILED: ITKp/src/ITK-stamp/ITK-configure
>
>     cmd.exe /C "cd /D
> C:\Users\kouka\AppData\Local\Temp\pip-install-byycnry8\itk\_skbuild\win32-3.7\cmake-build\ITKb
> && D:\Softwares\cmake\bin\cmake.exe -DBUILD_TESTING:BOOL=OFF
> -DCMAKE_INSTALL_PREFIX:PATH=C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_skbuild/win32-3.7/cmake-install
> -DPY_SITE_PACKAGES_PATH:PATH=C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_skbuild/win32-3.7/cmake-install
> -DWRAP_ITK_INSTALL_COMPONENT_IDENTIFIER:STRING=PythonWheel
> -DWRAP_ITK_INSTALL_COMPONENT_PER_MODULE:BOOL=OFF
> -DITK_LEGACY_SILENT:BOOL=ON -DITK_WRAP_PYTHON:BOOL=ON
> -DITK_WRAP_PYTHON_LEGACY:BOOL=OFF -DITK_WRAP_unsigned_short:BOOL=ON
> -DITK_WRAP_DOC:BOOL=ON -DDOXYGEN_EXECUTABLE:FILEPATH=
> -DPYTHON_INCLUDE_DIR:PATH=D:/Softwares/python/Include
> -DPYTHON_LIBRARY:FILEPATH=D:/Softwares/python/libs/python37.lib
> -DPYTHON_EXECUTABLE:FILEPATH=D:/Softwares/python/python.exe
> -DCMAKE_BUILD_TYPE:STRING=Release
> -DCMAKE_MAKE_PROGRAM:FILEPATH=D:/Softwares/visualstudio/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe
> -GNinja
> C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_skbuild/win32-3.7/cmake-build/ITKs
> && D:\Softwares\cmake\bin\cmake.exe -E touch
> C:/Users/kouka/AppData/Local/Temp/pip-install-byycnry8/itk/_skbuild/win32-3.7/cmake-build/ITKp/src/ITK-stamp/ITK-configure"
>
>     ninja: build stopped: subcommand failed.
>
>     Traceback (most recent call last):
>
>       File
> "D:\Softwares\python\lib\site-packages\skbuild\setuptools_wrap.py", line
> 578, in setup
>
>         cmkr.make(make_args, env=env)
>
>       File "D:\Softwares\python\lib\site-packages\skbuild\cmaker.py", line
> 482, in make
>
>         os.path.abspath(CMAKE_BUILD_DIR())))
>
>
>
>     An error occurred while building with CMake.
>
>       Command:
>
>         "cmake" "--build" "." "--target" "install" "--config" "Release"
> "--"
>
>       Source directory:
>
>         C:\Users\kouka\AppData\Local\Temp\pip-install-byycnry8\itk
>
>       Working directory:
>
>
> C:\Users\kouka\AppData\Local\Temp\pip-install-byycnry8\itk\_skbuild\win32-3.7\cmake-build
>
>     Please see CMake's output for more information.
>
>
>
>     ----------------------------------------
>
>   Failed building wheel for itk
>
>   Failed cleaning build dir for itk
>
> Command "D:\Softwares\python\python.exe -u -c "import setuptools,
> tokenize;__file__='C:\\Users\\kouka\\AppData\\Local\\Temp\\pip-install-byycnry8\\itk\\setup.py';f=getattr(tokenize,
> 'open', open)(__file__);code=f.read().replace('\r\n',
> '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
> C:\Users\kouka\AppData\Local\Temp\pip-record-ri4o36nk\install-record.txt
> --single-version-externally-managed --compile" failed with error code 1 in
> C:\Users\kouka\AppData\Local\Temp\pip-install-byycnry8\itk\
>
>
>
>
> ------------------------------
>
> [image: Avast logo] <https://www.avast.com/antivirus>
>
> L'absence de virus dans ce courrier électronique a été vérifiée par le
> logiciel antivirus Avast.
> www.avast.com <https://www.avast.com/antivirus>
>
>
>
> _______________________________________________
> 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/20190402/5a075f02/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 22217 bytes
Desc: not available
URL: <https://public.kitware.com/pipermail/rtk-users/attachments/20190402/5a075f02/attachment-0001.png>


More information about the Rtk-users mailing list