Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3.7 编译 qconf 扩展 error: command 'clang' failed with exit status 1 #115

Open
rxctp opened this issue May 9, 2019 · 1 comment

Comments

@rxctp
Copy link

rxctp commented May 9, 2019

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
@anzh1
Copy link

anzh1 commented Aug 30, 2020

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants