I’m getting this error currently. I tried deleting all SimpleITK directories and rebuilding but I hit the same thing. When I have a chance I’ll try a completely clean build tree, but for now I’ll turn of SimpleITK in my build.
[ 81%] **Completed 'SimpleITK'**
[100%] Built target SimpleITK
[ 97%] **Performing install step for 'SimpleITK'**
-- SimpleITK: Removing 'install' log files
-- SimpleITK: SimpleITK_WORKING_DIR: /Users/pieper/slicer/latest/sbrew/SimpleITK-build/SimpleITK-build/Wrapping/Python
-- SimpleITK: /Users/pieper/slicer/latest/sbrew/python-install/bin/PythonSlicer;Packaging/setup.py;install
-- SimpleITK: Errors detected - See below.
running install
running bdist_egg
running egg_info
writing SimpleITK.egg-info/PKG-INFO
writing dependency_links to SimpleITK.egg-info/dependency_links.txt
writing top-level names to SimpleITK.egg-info/top_level.txt
reading manifest file 'SimpleITK.egg-info/SOURCES.txt'
writing manifest file 'SimpleITK.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.15-x86_64/egg
running install_lib
running build_py
running build_ext
copying /Users/pieper/slicer/latest/sbrew/SimpleITK-build/SimpleITK-build/Wrapping/Python/_SimpleITK.so -> build/lib.macosx-10.15-x86_64-3.6/SimpleITK/_SimpleITK.cpython-36m-darwin.so
creating build/bdist.macosx-10.15-x86_64/egg
creating build/bdist.macosx-10.15-x86_64/egg/SimpleITK
copying build/lib.macosx-10.15-x86_64-3.6/SimpleITK/SimpleITK.py -> build/bdist.macosx-10.15-x86_64/egg/SimpleITK
copying build/lib.macosx-10.15-x86_64-3.6/SimpleITK/__init__.py -> build/bdist.macosx-10.15-x86_64/egg/SimpleITK
copying build/lib.macosx-10.15-x86_64-3.6/SimpleITK/_SimpleITK.cpython-36m-darwin.so -> build/bdist.macosx-10.15-x86_64/egg/SimpleITK
byte-compiling build/bdist.macosx-10.15-x86_64/egg/SimpleITK/SimpleITK.py to SimpleITK.cpython-36.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/SimpleITK/__init__.py to __init__.cpython-36.pyc
creating stub loader for SimpleITK/_SimpleITK.cpython-36m-darwin.so
byte-compiling build/bdist.macosx-10.15-x86_64/egg/SimpleITK/_SimpleITK.py to _SimpleITK.cpython-36.pyc
installing package data to build/bdist.macosx-10.15-x86_64/egg
running install_data
copying /Users/pieper/slicer/latest/sbrew/SimpleITK/LICENSE -> build/bdist.macosx-10.15-x86_64/egg/
copying /Users/pieper/slicer/latest/sbrew/SimpleITK/NOTICE -> build/bdist.macosx-10.15-x86_64/egg/
copying /Users/pieper/slicer/latest/sbrew/SimpleITK/Readme.md -> build/bdist.macosx-10.15-x86_64/egg/
copying /Users/pieper/slicer/latest/sbrew/SimpleITK-build/SimpleITK-build/ITK-5.1-NOTICE -> build/bdist.macosx-10.15-x86_64/egg/
copying /Users/pieper/slicer/latest/sbrew/SimpleITK-build/SimpleITK-build/ITK-5.1-README.md -> build/bdist.macosx-10.15-x86_64/egg/
creating build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying SimpleITK.egg-info/PKG-INFO -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying SimpleITK.egg-info/SOURCES.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying SimpleITK.egg-info/dependency_links.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying SimpleITK.egg-info/top_level.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
writing build/bdist.macosx-10.15-x86_64/egg/EGG-INFO/native_libs.txt
creating 'dist/SimpleITK-1.3.0.dev527-py3.6-macosx-10.15-x86_64.egg' and adding 'build/bdist.macosx-10.15-x86_64/egg' to it
removing 'build/bdist.macosx-10.15-x86_64/egg' (and everything under it)
Processing SimpleITK-1.3.0.dev527-py3.6-macosx-10.15-x86_64.egg
removing '/Users/pieper/slicer/latest/sbrew/python-install/lib/python3.6/site-packages/SimpleITK-1.3.0.dev527-py3.6-macosx-10.15-x86_64.egg' (and everything under it)
creating /Users/pieper/slicer/latest/sbrew/python-install/lib/python3.6/site-packages/SimpleITK-1.3.0.dev527-py3.6-macosx-10.15-x86_64.egg
Extracting SimpleITK-1.3.0.dev527-py3.6-macosx-10.15-x86_64.egg to /Users/pieper/slicer/latest/sbrew/python-install/lib/python3.6/site-packages
SimpleITK 1.3.0.dev527 is already the active version in easy-install.pth
Installed /Users/pieper/slicer/latest/sbrew/python-install/lib/python3.6/site-packages/SimpleITK-1.3.0.dev527-py3.6-macosx-10.15-x86_64.egg
Processing dependencies for SimpleITK==1.3.0.dev527
Searching for SimpleITK==1.3.0.dev527
Reading https://pypi.org/simple/SimpleITK/
zip_safe flag not set; analyzing archive contents...
SimpleITK.__pycache__.SimpleITK.cpython-36: module references __file__
SimpleITK.__pycache__._SimpleITK.cpython-36: module references __file__
No local packages or working download links found for SimpleITK==1.3.0.dev527
error: Could not find suitable distribution for Requirement.parse('SimpleITK==1.3.0.dev527')
CMake Error at /Users/pieper/slicer/latest/Slicer/CMake/ExternalProjectForNonCMakeProject.cmake:104 (message):
SimpleITK: install step failed with exit code '1'.
Outputs also captured in
/Users/pieper/slicer/latest/sbrew/SimpleITK_install_step_output.txt and
/Users/pieper/slicer/latest/sbrew/SimpleITK_install_step_error.txt.
Setting env. variable EP_EXECUTE_DISABLE_CAPTURE_OUTPUTS to 1 allows to
disable file capture.
Call Stack (most recent call first):
/Users/pieper/slicer/latest/sbrew/SimpleITK_install_step.cmake:3 (ExternalProject_Execute)
make[3]: *** [SimpleITK-prefix/src/SimpleITK-stamp/SimpleITK-install] Error 1
make[2]: *** [CMakeFiles/SimpleITK.dir/all] Error 2
make[1]: *** [CMakeFiles/SimpleITK.dir/rule] Error 2
make: *** [SimpleITK] Error 2
rock:sbrew pieper$