I'm getting a similar error:
```
Building wheels for collected packages: cchardet
Running setup.py bdist_wheel for cchardet ... error
Complete output from command /usr/local/opt/python/bin/python3.7 -u -c
"import setuptools,
tokenize;__file__='/private/var/folders/hg/_vt9qsfj1cz3zz_wy46b5w0m0000gp/T/pip-install-owpvtjya/cchardet/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
/private/var/folders/hg/_vt9qsfj1cz3zz_wy46b5w0m0000gp/T/pip-wheel-qbnvmlbd
--python-tag cp37:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.13-x86_64-3.7
creating build/lib.macosx-10.13-x86_64-3.7/cchardet
copying src/cchardet/version.py -> build/lib.macosx-10.13-x86_64-3.7/cchardet
copying src/cchardet/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/cchardet
running build_ext
building 'cchardet._cchardet' extension
creating build/temp.macosx-10.13-x86_64-3.7
creating build/temp.macosx-10.13-x86_64-3.7/src
creating build/temp.macosx-10.13-x86_64-3.7/src/cchardet
creating build/temp.macosx-10.13-x86_64-3.7/src/ext
creating build/temp.macosx-10.13-x86_64-3.7/src/ext/libcharsetdetect
creating build/temp.macosx-10.13-x86_64-3.7/src/ext/libcharsetdetect/mozilla
creating
build/temp.macosx-10.13-x86_64-3.7/src/ext/libcharsetdetect/mozilla/extensions
creating
build/temp.macosx-10.13-x86_64-3.7/src/ext/libcharsetdetect/mozilla/extensions/universalchardet
creating
build/temp.macosx-10.13-x86_64-3.7/src/ext/libcharsetdetect/mozilla/extensions/universalchardet/src
creating
build/temp.macosx-10.13-x86_64-3.7/src/ext/libcharsetdetect/mozilla/extensions/universalchardet/src/base
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic
-DNDEBUG -g -fwrapv -O3 -Wall
-Isrc/ext/libcharsetdetect/mozilla/extensions/universalchardet/src/base/
-Isrc/ext/libcharsetdetect/nspr-emu/ -Isrc/ext/libcharsetdetect/
-I/usr/local/include -I/usr/local/opt/openssl/include
-I/usr/local/opt/sqlite/include
-I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m
-c src/cchardet/_cchardet.cpp -o
build/temp.macosx-10.13-x86_64-3.7/src/cchardet/_cchardet.o
src/cchardet/_cchardet.cpp:2351:65: error: too many arguments to function
call, expected 3, have 4
return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:100:18:
note: expanded from macro 'NULL'
# define NULL __null
^~~~~~
1 error generated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Failed building wheel for cchardet
```
I tried both `CC=gcc pip3 install superset` and `CC=clang pip3 install
superset`.
Same config, running on OS X 13.6, python 3.7, pip 18.0
[ Full content available at:
https://github.com/apache/incubator-superset/issues/5617 ]
This message was relayed via gitbox.apache.org for [email protected]