Created
July 15, 2017 00:20
-
-
Save alexattia/e2b57914fdde51ccbc575d60750d13d7 to your computer and use it in GitHub Desktop.
Dlib installing error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
attia/FaceRecognition (master)$ pip install dlib | |
Collecting dlib | |
Using cached dlib-19.4.0.tar.gz | |
Building wheels for collected packages: dlib | |
Running setup.py bdist_wheel for dlib ... error | |
Complete output from command /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/private/var/folders/1z/jrqz7zc90b54dh2qwb98jyfw0000gn/T/pip-build-ak8d7b7t/dlib/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 /var/folders/1z/jrqz7zc90b54dh2qwb98jyfw0000gn/T/tmpmtwr0h82pip-wheel- --python-tag cp35: | |
running bdist_wheel | |
running build | |
Detected Python architecture: 64bit | |
Detected platform: darwin | |
Configuring cmake ... | |
-- The C compiler identification is AppleClang 8.1.0.8020042 | |
-- The CXX compiler identification is AppleClang 8.1.0.8020042 | |
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc | |
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- broken | |
CMake Error at /usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCCompiler.cmake:51 (message): | |
The C compiler | |
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc" | |
is not able to compile a simple test program. | |
It fails with the following output: | |
Change Dir: /private/var/folders/1z/jrqz7zc90b54dh2qwb98jyfw0000gn/T/pip-build-ak8d7b7t/dlib/tools/python/build/CMakeFiles/CMakeTmp | |
Run Build Command:"/usr/bin/make" "cmTC_7ba22/fast" | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f | |
CMakeFiles/cmTC_7ba22.dir/build.make CMakeFiles/cmTC_7ba22.dir/build | |
Building C object CMakeFiles/cmTC_7ba22.dir/testCCompiler.c.o | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc | |
-o CMakeFiles/cmTC_7ba22.dir/testCCompiler.c.o -c | |
/private/var/folders/1z/jrqz7zc90b54dh2qwb98jyfw0000gn/T/pip-build-ak8d7b7t/dlib/tools/python/build/CMakeFiles/CMakeTmp/testCCompiler.c | |
Linking C executable cmTC_7ba22 | |
/usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_link_script | |
CMakeFiles/cmTC_7ba22.dir/link.txt --verbose=1 | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc | |
-Wl,-search_paths_first -Wl,-headerpad_max_install_names | |
/usr/local/opt/qt/lib CMakeFiles/cmTC_7ba22.dir/testCCompiler.c.o -o | |
cmTC_7ba22 | |
ld: can't map file, errno=22 file '/usr/local/opt/qt/lib' for architecture | |
x86_64 | |
clang: error: linker command failed with exit code 1 (use -v to see | |
invocation) | |
make[1]: *** [cmTC_7ba22] Error 1 | |
make: *** [cmTC_7ba22/fast] Error 2 | |
CMake will not be able to correctly generate this project. | |
Call Stack (most recent call first): | |
CMakeLists.txt | |
-- Configuring incomplete, errors occurred! | |
See also "/private/var/folders/1z/jrqz7zc90b54dh2qwb98jyfw0000gn/T/pip-build-ak8d7b7t/dlib/tools/python/build/CMakeFiles/CMakeOutput.log". | |
See also "/private/var/folders/1z/jrqz7zc90b54dh2qwb98jyfw0000gn/T/pip-build-ak8d7b7t/dlib/tools/python/build/CMakeFiles/CMakeError.log". | |
error: cmake configuration failed! | |
---------------------------------------- | |
Failed building wheel for dlib | |
Running setup.py clean for dlib | |
Failed to build dlib | |
Installing collected packages: dlib | |
Running setup.py install for dlib ... error | |
Complete output from command /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/private/var/folders/1z/jrqz7zc90b54dh2qwb98jyfw0000gn/T/pip-build-ak8d7b7t/dlib/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/1z/jrqz7zc90b54dh2qwb98jyfw0000gn/T/pip-x7fjzva2-record/install-record.txt --single-version-externally-managed --compile: | |
running install | |
running build | |
Detected Python architecture: 64bit | |
Detected platform: darwin | |
Removing build directory /private/var/folders/1z/jrqz7zc90b54dh2qwb98jyfw0000gn/T/pip-build-ak8d7b7t/dlib/./tools/python/build | |
Configuring cmake ... | |
-- The C compiler identification is AppleClang 8.1.0.8020042 | |
-- The CXX compiler identification is AppleClang 8.1.0.8020042 | |
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc | |
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- broken | |
CMake Error at /usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCCompiler.cmake:51 (message): | |
The C compiler | |
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc" | |
is not able to compile a simple test program. | |
It fails with the following output: | |
Change Dir: /private/var/folders/1z/jrqz7zc90b54dh2qwb98jyfw0000gn/T/pip-build-ak8d7b7t/dlib/tools/python/build/CMakeFiles/CMakeTmp | |
Run Build Command:"/usr/bin/make" "cmTC_e2068/fast" | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f | |
CMakeFiles/cmTC_e2068.dir/build.make CMakeFiles/cmTC_e2068.dir/build | |
Building C object CMakeFiles/cmTC_e2068.dir/testCCompiler.c.o | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc | |
-o CMakeFiles/cmTC_e2068.dir/testCCompiler.c.o -c | |
/private/var/folders/1z/jrqz7zc90b54dh2qwb98jyfw0000gn/T/pip-build-ak8d7b7t/dlib/tools/python/build/CMakeFiles/CMakeTmp/testCCompiler.c | |
Linking C executable cmTC_e2068 | |
/usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_link_script | |
CMakeFiles/cmTC_e2068.dir/link.txt --verbose=1 | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc | |
-Wl,-search_paths_first -Wl,-headerpad_max_install_names | |
/usr/local/opt/qt/lib CMakeFiles/cmTC_e2068.dir/testCCompiler.c.o -o | |
cmTC_e2068 | |
ld: can't map file, errno=22 file '/usr/local/opt/qt/lib' for architecture | |
x86_64 | |
clang: error: linker command failed with exit code 1 (use -v to see | |
invocation) | |
make[1]: *** [cmTC_e2068] Error 1 | |
make: *** [cmTC_e2068/fast] Error 2 | |
CMake will not be able to correctly generate this project. | |
Call Stack (most recent call first): | |
CMakeLists.txt | |
-- Configuring incomplete, errors occurred! | |
See also "/private/var/folders/1z/jrqz7zc90b54dh2qwb98jyfw0000gn/T/pip-build-ak8d7b7t/dlib/tools/python/build/CMakeFiles/CMakeOutput.log". | |
See also "/private/var/folders/1z/jrqz7zc90b54dh2qwb98jyfw0000gn/T/pip-build-ak8d7b7t/dlib/tools/python/build/CMakeFiles/CMakeError.log". | |
error: cmake configuration failed! | |
---------------------------------------- | |
Command "/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/private/var/folders/1z/jrqz7zc90b54dh2qwb98jyfw0000gn/T/pip-build-ak8d7b7t/dlib/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/1z/jrqz7zc90b54dh2qwb98jyfw0000gn/T/pip-x7fjzva2-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/1z/jrqz7zc90b54dh2qwb98jyfw0000gn/T/pip-build-ak8d7b7t/dlib/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good