From Yannick.Grondin at surgiqual-institute.com Mon Apr 1 10:44:48 2019 From: Yannick.Grondin at surgiqual-institute.com (Yannick Grondin) Date: Mon, 1 Apr 2019 16:44:48 +0200 Subject: [Rtk-users] RTK for Python : installation failed Message-ID: <007a01d4e899$75ac3f50$6104bdf0$@surgiqual-institute.com> 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 ____________________________ SQI_Logo_Mail 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/4b25d14a0637696193a57ca5838c5e 465b31024935eace2457188d8c9071/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-byycn ry8\\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_compi le/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 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-by ycnry8/itk/_skbuild/win32-3.7/cmake-install -DPY_SITE_PACKAGES_PATH:PATH=C:/Users/kouka/AppData/Local/Temp/pip-install-b yycnry8/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/CommonEx tensions/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-byycn ry8\\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-debda3808 782fb53135b9fc9cb82b15868dc57b0.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-byycn ry8\\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_compi le/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 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-by ycnry8/itk/_skbuild/win32-3.7/cmake-install -DPY_SITE_PACKAGES_PATH:PATH=C:/Users/kouka/AppData/Local/Temp/pip-install-b yycnry8/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/CommonEx tensions/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-byycn ry8\\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\ --- L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le logiciel antivirus Avast. https://www.avast.com/antivirus -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 22217 bytes Desc: not available URL: From simon.rit at creatis.insa-lyon.fr Tue Apr 2 03:07:05 2019 From: simon.rit at creatis.insa-lyon.fr (Simon Rit) Date: Tue, 2 Apr 2019 09:07:05 +0200 Subject: [Rtk-users] RTK for Python : installation failed In-Reply-To: <007a01d4e899$75ac3f50$6104bdf0$@surgiqual-institute.com> References: <007a01d4e899$75ac3f50$6104bdf0$@surgiqual-institute.com> Message-ID: 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] > > *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 > > > > 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 > > > > 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] > > L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le > logiciel antivirus Avast. > www.avast.com > > <#m_6473172331006687137_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 22217 bytes Desc: not available URL: From simon.rit at creatis.insa-lyon.fr Tue Apr 2 03:44:34 2019 From: simon.rit at creatis.insa-lyon.fr (Simon Rit) Date: Tue, 2 Apr 2019 09:44:34 +0200 Subject: [Rtk-users] RTK for Python : installation failed In-Reply-To: <000f01d4e926$d80089d0$88019d70$@surgiqual-institute.com> References: <007a01d4e899$75ac3f50$6104bdf0$@surgiqual-institute.com> <000f01d4e926$d80089d0$88019d70$@surgiqual-institute.com> Message-ID: 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] > > *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 > > > > 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 > > > > 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] > > L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le > logiciel antivirus Avast. > www.avast.com > > > > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 22217 bytes Desc: not available URL: From Yannick.Grondin at surgiqual-institute.com Tue Apr 2 03:36:51 2019 From: Yannick.Grondin at surgiqual-institute.com (Yannick Grondin) Date: Tue, 2 Apr 2019 09:36:51 +0200 Subject: [Rtk-users] RTK for Python : installation failed In-Reply-To: References: <007a01d4e899$75ac3f50$6104bdf0$@surgiqual-institute.com> Message-ID: <000f01d4e926$d80089d0$88019d70$@surgiqual-institute.com> 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 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 ____________________________ SQI_Logo_Mail 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 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 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\ _____ Avast logo L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le logiciel antivirus Avast. www.avast.com _______________________________________________ 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 22217 bytes Desc: not available URL: From Yannick.Grondin at surgiqual-institute.com Tue Apr 2 03:49:01 2019 From: Yannick.Grondin at surgiqual-institute.com (Yannick Grondin) Date: Tue, 2 Apr 2019 09:49:01 +0200 Subject: [Rtk-users] RTK for Python : installation failed In-Reply-To: References: <007a01d4e899$75ac3f50$6104bdf0$@surgiqual-institute.com> <000f01d4e926$d80089d0$88019d70$@surgiqual-institute.com> Message-ID: <002101d4e928$8bca1f70$a35e5e50$@surgiqual-institute.com> Thanks, You are right, it is not the good Python version ! Thanks Simon, Yannick De : Simon Rit [mailto:simon.rit at creatis.insa-lyon.fr] Envoy? : mardi 2 avril 2019 09:45 ? : Yannick Grondin Cc : rtk-users Objet : Re: [Rtk-users] RTK for Python : installation failed I'm surprised that it mentions win32. Is the used python 64 bit? On Tue, Apr 2, 2019 at 9:41 AM Yannick Grondin 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 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 ____________________________ SQI_Logo_Mail 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 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 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\ _____ Avast logo L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le logiciel antivirus Avast. www.avast.com _______________________________________________ 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 22217 bytes Desc: not available URL: From e.a.gh72 at gmail.com Mon Apr 15 02:04:06 2019 From: e.a.gh72 at gmail.com (Ali ghorbanian) Date: Mon, 15 Apr 2019 10:34:06 +0430 Subject: [Rtk-users] First Reconstruction Message-ID: Hi, Please explain the example of the first reconstruction (RTK folder) in more detail and more comprehensively. thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.rit at creatis.insa-lyon.fr Mon Apr 15 02:14:08 2019 From: simon.rit at creatis.insa-lyon.fr (Simon Rit) Date: Mon, 15 Apr 2019 08:14:08 +0200 Subject: [Rtk-users] First Reconstruction In-Reply-To: References: Message-ID: Hi, Please look at the comments in the code and ask a specific question on what is not clear to you. Thank you, Simon On Mon, Apr 15, 2019 at 8:04 AM Ali ghorbanian wrote: > Hi, > Please explain the example of the first reconstruction (RTK folder) in > more detail and more comprehensively. > thank you. > _______________________________________________ > 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: From e.a.gh72 at gmail.com Tue Apr 16 00:30:37 2019 From: e.a.gh72 at gmail.com (Ali ghorbanian) Date: Tue, 16 Apr 2019 09:00:37 +0430 Subject: [Rtk-users] FDKConeBeamReconstructionFilter Message-ID: I have some bmp photos that I want to give them to the FDKConeBeamReconstructionFilter entry. feldkamp-> setInput Please guide me. -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.rit at creatis.insa-lyon.fr Tue Apr 16 01:24:53 2019 From: simon.rit at creatis.insa-lyon.fr (Simon Rit) Date: Tue, 16 Apr 2019 07:24:53 +0200 Subject: [Rtk-users] FDKConeBeamReconstructionFilter In-Reply-To: References: Message-ID: I would suggest to use rtkfdk or too look at the code rtkfdk.cxx . On the command line, you can pass a path and a regular expression containing bmp (see an example with his files on the Elekta wiki example ). ITK should be able to handle BMP images but I have never tried. On Tue, Apr 16, 2019 at 6:30 AM Ali ghorbanian wrote: > I have some bmp photos that I want to give them to the > FDKConeBeamReconstructionFilter entry. > feldkamp-> setInput > Please guide me. > _______________________________________________ > 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: From e.a.gh72 at gmail.com Tue Apr 16 06:51:28 2019 From: e.a.gh72 at gmail.com (Ali ghorbanian) Date: Tue, 16 Apr 2019 15:21:28 +0430 Subject: [Rtk-users] Projections reader Message-ID: How can I manually type the address for reading the Projections in the following code? GGO(rtkprojections, args_info); typedef float OutputPixelType; const unsigned int Dimension = 3; typedef itk::Image OutputImageType; // Projections reader typedef rtk::ProjectionsReader< OutputImageType > ReaderType; ReaderType::Pointer reader = ReaderType::New(); rtk::SetProjectionsReaderFromGgo(reader, args_info); -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.rit at creatis.insa-lyon.fr Tue Apr 16 09:42:51 2019 From: simon.rit at creatis.insa-lyon.fr (Simon Rit) Date: Tue, 16 Apr 2019 15:42:51 +0200 Subject: [Rtk-users] Projections reader In-Reply-To: References: Message-ID: Replace rtk::SetProjectionsReaderFromGgo by the code you would like to use, based on its c++ code . On Tue, Apr 16, 2019 at 12:51 PM Ali ghorbanian wrote: > How can I manually type the address for reading the Projections in the > following code? > > > GGO(rtkprojections, args_info); > > typedef float OutputPixelType; > const unsigned int Dimension = 3; > typedef itk::Image OutputImageType; > > // Projections reader > typedef rtk::ProjectionsReader< OutputImageType > ReaderType; > ReaderType::Pointer reader = ReaderType::New(); > rtk::SetProjectionsReaderFromGgo args_info_rtkprojections>(reader, args_info); > _______________________________________________ > 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: From simon.rit at creatis.insa-lyon.fr Thu Apr 25 09:14:19 2019 From: simon.rit at creatis.insa-lyon.fr (Simon Rit) Date: Thu, 25 Apr 2019 15:14:19 +0200 Subject: [Rtk-users] =?utf-8?q?Fwd=3A_Sujet_de_th=C3=A8se=2C_reconstructi?= =?utf-8?q?on_PET/CT?= In-Reply-To: References: Message-ID: Dear all, FYI, there is a PhD position in Brest on PET reconstruction. Best regards, Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: totalBodyPET_TOF_CT_motion_eng.pdf Type: application/pdf Size: 91289 bytes Desc: not available URL: From e.a.gh72 at gmail.com Mon Apr 29 04:06:57 2019 From: e.a.gh72 at gmail.com (Ali ghorbanian) Date: Mon, 29 Apr 2019 12:36:57 +0430 Subject: [Rtk-users] RTK Books Message-ID: Hi, Have a book for more explanations in libraries and implemented functions in the RTK? -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.rit at creatis.insa-lyon.fr Mon Apr 29 04:49:56 2019 From: simon.rit at creatis.insa-lyon.fr (Simon Rit) Date: Mon, 29 Apr 2019 10:49:56 +0200 Subject: [Rtk-users] RTK Books In-Reply-To: References: Message-ID: Hi, No, all we have is the wiki and the doxygen documentation. Simon On Mon, Apr 29, 2019 at 10:07 AM Ali ghorbanian wrote: > Hi, > Have a book for more explanations in libraries and implemented functions > in the RTK? > _______________________________________________ > 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: From GCSHARP at PARTNERS.ORG Mon Apr 29 14:41:15 2019 From: GCSHARP at PARTNERS.ORG (Sharp, Gregory C.) Date: Mon, 29 Apr 2019 18:41:15 +0000 Subject: [Rtk-users] Typo on web page Message-ID: Just wanted to alert you that the download web page says "The current release is version 1.3.0 from September 2016." This statement should be removed or updated. https://www.openrtk.org/RTK/resources/software.html From simon.rit at creatis.insa-lyon.fr Mon Apr 29 15:45:43 2019 From: simon.rit at creatis.insa-lyon.fr (Simon Rit) Date: Mon, 29 Apr 2019 21:45:43 +0200 Subject: [Rtk-users] Typo on web page In-Reply-To: References: Message-ID: Hi Greg, Thanks, it's been corrected. Simon On Mon, Apr 29, 2019 at 8:41 PM Sharp, Gregory C. wrote: > Just wanted to alert you that the download web page says "The current > release is version 1.3.0 from September 2016." This statement should be > removed or updated. > > https://www.openrtk.org/RTK/resources/software.html > > _______________________________________________ > 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: From fredrik.hellman at gmail.com Tue Apr 30 08:58:37 2019 From: fredrik.hellman at gmail.com (Fredrik Hellman) Date: Tue, 30 Apr 2019 14:58:37 +0200 Subject: [Rtk-users] Cuda and RTK Message-ID: Hi all, I have a question about the the code that deals with cuda within RTK. RTK uses itk cuda image, the itk data manager, and itk context manager (but not itk kernel manager so much?) to handle cuda data. Is this maintained as part of RTK or is it maintained somewhere else and only used in RTK? Now when RTK becomes closer to ITK, what will happen to that code? Best regards, Fredrik -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.rit at creatis.insa-lyon.fr Tue Apr 30 09:03:02 2019 From: simon.rit at creatis.insa-lyon.fr (Simon Rit) Date: Tue, 30 Apr 2019 15:03:02 +0200 Subject: [Rtk-users] Cuda and RTK In-Reply-To: References: Message-ID: Hi, Everything you're saying is correct. This development was co-funded by the RTK consortium and Kitware and the goal was to transfer it to ITK. However, this has never occurred and at this stage, it is only maintained in RTK. Ideally, this could become an independent ITK module. Is it something you'd like/need? Cheers, Simon On Tue, Apr 30, 2019 at 2:58 PM Fredrik Hellman wrote: > Hi all, > > I have a question about the the code that deals with cuda within RTK. > > RTK uses itk cuda image, the itk data manager, and itk context manager > (but not itk kernel manager so much?) to handle cuda data. Is this > maintained as part of RTK or is it maintained somewhere else and only used > in RTK? Now when RTK becomes closer to ITK, what will happen to that code? > > Best regards, > Fredrik > _______________________________________________ > 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: