You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/08/13 17:26:45 UTC

[GitHub] pachecobruno opened a new issue #5617: Error to install dependencies - macOS 10.13 - cchardet==1.1.3

pachecobruno opened a new issue #5617: Error to install dependencies - macOS 10.13 - cchardet==1.1.3
URL: https://github.com/apache/incubator-superset/issues/5617
 
 
   ### Superset version
   Commit 39ff9deb573fd0d34a2afdcb216092dccca8086b
   Date:   Tue Aug 7 22:22:19 2018 +0200
   Python: 3.7.0
   Pip: 18.0
   OS: macOS 10.13.6
   
   ### Expected results
   Install all dependencies.
   
   ### Actual results
   Error during dependencies installation.
   ```
   Installing collected packages: cchardet, tabulator, tableschema, thrift, sasl, thrift-sasl, unidecode, superset
     Running setup.py install for cchardet ... error
       Complete output from command /Users/brunopacheco/workspace/superset/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var/folders/_q/6ldlfbyd4hl0qrh0dd9kz2y00000gn/T/pip-install-un3_woar/cchardet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/_q/6ldlfbyd4hl0qrh0dd9kz2y00000gn/T/pip-record-9e58rhml/install-record.txt --single-version-externally-managed --compile --install-headers /Users/brunopacheco/workspace/superset/venv/include/site/python3.7/cchardet:
       running install
       running build
       running build_py
       creating build
       creating build/lib.macosx-10.9-x86_64-3.7
       creating build/lib.macosx-10.9-x86_64-3.7/cchardet
       copying src/cchardet/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/cchardet
       copying src/cchardet/version.py -> build/lib.macosx-10.9-x86_64-3.7/cchardet
       running build_ext
       building 'cchardet._cchardet' extension
       creating build/temp.macosx-10.9-x86_64-3.7
       creating build/temp.macosx-10.9-x86_64-3.7/src
       creating build/temp.macosx-10.9-x86_64-3.7/src/cchardet
       creating build/temp.macosx-10.9-x86_64-3.7/src/ext
       creating build/temp.macosx-10.9-x86_64-3.7/src/ext/libcharsetdetect
       creating build/temp.macosx-10.9-x86_64-3.7/src/ext/libcharsetdetect/mozilla
       creating build/temp.macosx-10.9-x86_64-3.7/src/ext/libcharsetdetect/mozilla/extensions
       creating build/temp.macosx-10.9-x86_64-3.7/src/ext/libcharsetdetect/mozilla/extensions/universalchardet
       creating build/temp.macosx-10.9-x86_64-3.7/src/ext/libcharsetdetect/mozilla/extensions/universalchardet/src
       creating build/temp.macosx-10.9-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 -arch x86_64 -g -Isrc/ext/libcharsetdetect/mozilla/extensions/universalchardet/src/base/ -Isrc/ext/libcharsetdetect/nspr-emu/ -Isrc/ext/libcharsetdetect/ -I/Users/brunopacheco/workspace/superset/venv/include -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/cchardet/_cchardet.cpp -o build/temp.macosx-10.9-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
       
       ----------------------------------------
   ```
   
   ### Steps to reproduce
   `cd /path-to-superset-project`
   `pip install -r docs/requirements.txt`
   `pip install -e .`
   
   ### Related to
   https://github.com/PyYoshi/cChardet/issues/37#issuecomment-412591328

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org