Open rxctp opened 5 years ago
error: command 'clang' failed with exit status 1 mac 版本 10.13.6 xcode-select version 2349. running build running build_ext building 'qconf_py' extension clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/include/qconf -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c lib/python_qconf.cc -o build/temp.macosx-10.13-x86_64-3.7/lib/python_qconf.o lib/python_qconf.cc:2:10: fatal error: 'qconf.h' file not found #include "qconf.h" ^~~~~~~~~ 1 error generated. error: command 'clang' failed with exit status 1
error: command 'clang' failed with exit status 1 mac 版本 10.13.6 xcode-select version 2349.
running build running build_ext building 'qconf_py' extension clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/include/qconf -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c lib/python_qconf.cc -o build/temp.macosx-10.13-x86_64-3.7/lib/python_qconf.o lib/python_qconf.cc:2:10: fatal error: 'qconf.h' file not found #include "qconf.h" ^~~~~~~~~ 1 error generated. error: command 'clang' failed with exit status 1
lib/python_qconf.cc:2:10: fatal error: 'qconf.h' file not found
Do the following things: cd /usr/local/include mkdir qconf cp /usr/local/qconf/include/* /usr/local/include/qconf/