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 2019/01/03 16:58:08 UTC

[GitHub] weiqiLee opened a new issue #6589: Error to install dependencies - macOS 10.14

weiqiLee opened a new issue #6589: Error to install dependencies - macOS 10.14
URL: https://github.com/apache/incubator-superset/issues/6589
 
 
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [ √] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [ √] I have reproduced the issue with at least the latest released version of superset.
   - [√ ] I have checked the issue tracker for the same issue and I haven't found one similar.
   ### Superset version
   superset:0.28.1
   macOS  10.14
   Python 3.6.5 |Anaconda, Inc.| (default, Apr 26 2018, 08:42:37) 
   pip 18.1 
   ### Expected results
   Install all dependencies.
   ### Actual results
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/victorli/anaconda3/include -arch x86_64 -I/Users/victorli/anaconda3/include -arch x86_64 -Isrc/ext/libcharsetdetect/mozilla/extensions/universalchardet/src/base/ -Isrc/ext/libcharsetdetect/nspr-emu/ -Isrc/ext/libcharsetdetect/ -I/Users/victorli/anaconda3/include/python3.6m -c src/cchardet/_cchardet.cpp -o build/temp.macosx-10.7-x86_64-3.6/src/cchardet/_cchardet.o
     warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
     src/cchardet/_cchardet.cpp:1207:5: warning: variable '__pyx_v_ret' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
         default: break;
         ^~~~~~~
     src/cchardet/_cchardet.cpp:1217:16: note: uninitialized use occurs here
       __pyx_t_3 = (__pyx_v_ret != 0);
                    ^~~~~~~~~~~
     src/cchardet/_cchardet.cpp:1070:26: note: initialize the variable '__pyx_v_ret' to silence this warning
       const char* __pyx_v_ret;
                              ^
                               = NULL
     2 warnings generated.
     gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/victorli/anaconda3/include -arch x86_64 -I/Users/victorli/anaconda3/include -arch x86_64 -Isrc/ext/libcharsetdetect/mozilla/extensions/universalchardet/src/base/ -Isrc/ext/libcharsetdetect/nspr-emu/ -Isrc/ext/libcharsetdetect/ -I/Users/victorli/anaconda3/include/python3.6m -c src/ext/libcharsetdetect/charsetdetect.cpp -o build/temp.macosx-10.7-x86_64-3.6/src/ext/libcharsetdetect/charsetdetect.o
     warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
     src/ext/libcharsetdetect/charsetdetect.cpp:1:10: fatal error: 'iostream' file not found
     #include <iostream>
              ^~~~~~~~~~
     1 warning and 1 error generated.
     error: command 'gcc' failed with exit status 1
     
     ----------------------------------------
     Failed building wheel for cchardet
     Running setup.py clean for cchardet
   Failed to build cchardet
   Installing collected packages: cchardet, kombu, celery, flask-babel, flask-appbuilder, flask-migrate, geopy, pyasn1, pyasn1-modules, google-auth, gunicorn, markdown, parsedatetime, py, pyhive, pyparsing, requests, rfc3986, sqlalchemy-utils, tabulator, tableschema
     Found existing installation: cchardet 2.1.4
       Uninstalling cchardet-2.1.4:
         Successfully uninstalled cchardet-2.1.4
     Running setup.py install for cchardet ... error
       Complete output from command /Users/victorli/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/sx/8tjrn2vd2b9gtyk_t446fj5w0000gn/T/pip-install-4wp1jy_7/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/sx/8tjrn2vd2b9gtyk_t446fj5w0000gn/T/pip-record-l0cvc4y9/install-record.txt --single-version-externally-managed --compile:
       cythonize: ['src/cchardet/_cchardet.pyx']
       running install
       running build
       running build_py
       creating build
       creating build/lib.macosx-10.7-x86_64-3.6
       creating build/lib.macosx-10.7-x86_64-3.6/cchardet
       copying src/cchardet/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/cchardet
       running build_ext
       building 'cchardet._cchardet' extension
       creating build/temp.macosx-10.7-x86_64-3.6
       creating build/temp.macosx-10.7-x86_64-3.6/src
       creating build/temp.macosx-10.7-x86_64-3.6/src/cchardet
       creating build/temp.macosx-10.7-x86_64-3.6/src/ext
       creating build/temp.macosx-10.7-x86_64-3.6/src/ext/libcharsetdetect
       creating build/temp.macosx-10.7-x86_64-3.6/src/ext/libcharsetdetect/mozilla
       creating build/temp.macosx-10.7-x86_64-3.6/src/ext/libcharsetdetect/mozilla/extensions
       creating build/temp.macosx-10.7-x86_64-3.6/src/ext/libcharsetdetect/mozilla/extensions/universalchardet
       creating build/temp.macosx-10.7-x86_64-3.6/src/ext/libcharsetdetect/mozilla/extensions/universalchardet/src
       creating build/temp.macosx-10.7-x86_64-3.6/src/ext/libcharsetdetect/mozilla/extensions/universalchardet/src/base
       gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/victorli/anaconda3/include -arch x86_64 -I/Users/victorli/anaconda3/include -arch x86_64 -Isrc/ext/libcharsetdetect/mozilla/extensions/universalchardet/src/base/ -Isrc/ext/libcharsetdetect/nspr-emu/ -Isrc/ext/libcharsetdetect/ -I/Users/victorli/anaconda3/include/python3.6m -c src/cchardet/_cchardet.cpp -o build/temp.macosx-10.7-x86_64-3.6/src/cchardet/_cchardet.o
       warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
       src/cchardet/_cchardet.cpp:1207:5: warning: variable '__pyx_v_ret' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
           default: break;
           ^~~~~~~
       src/cchardet/_cchardet.cpp:1217:16: note: uninitialized use occurs here
         __pyx_t_3 = (__pyx_v_ret != 0);
                      ^~~~~~~~~~~
       src/cchardet/_cchardet.cpp:1070:26: note: initialize the variable '__pyx_v_ret' to silence this warning
         const char* __pyx_v_ret;
                                ^
                                 = NULL
       2 warnings generated.
       gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/victorli/anaconda3/include -arch x86_64 -I/Users/victorli/anaconda3/include -arch x86_64 -Isrc/ext/libcharsetdetect/mozilla/extensions/universalchardet/src/base/ -Isrc/ext/libcharsetdetect/nspr-emu/ -Isrc/ext/libcharsetdetect/ -I/Users/victorli/anaconda3/include/python3.6m -c src/ext/libcharsetdetect/charsetdetect.cpp -o build/temp.macosx-10.7-x86_64-3.6/src/ext/libcharsetdetect/charsetdetect.o
       warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
       src/ext/libcharsetdetect/charsetdetect.cpp:1:10: fatal error: 'iostream' file not found
       #include <iostream>
                ^~~~~~~~~~
       1 warning and 1 error generated.
       error: command 'gcc' failed with exit status 1
       
       ----------------------------------------
     Rolling back uninstall of cchardet
   Command "/Users/victorli/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/sx/8tjrn2vd2b9gtyk_t446fj5w0000gn/T/pip-install-4wp1jy_7/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/sx/8tjrn2vd2b9gtyk_t446fj5w0000gn/T/pip-record-l0cvc4y9/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/sx/8tjrn2vd2b9gtyk_t446fj5w0000gn/T/pip-install-4wp1jy_7/cchardet/
   ### Steps to reproduce
   
   sudo mv /usr/local/include /usr/local/include_old
   sudo mkdir /usr/local/include
   sudo chown $YOU_USERNAME:admin /usr/local/include
   
   It does't work
   
   

----------------------------------------------------------------
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