{"action":"created","issue":{"url":"https://api.github.com/repos/numba/numba/issues/2309","repository_url":"https://api.github.com/repos/numba/numba","labels_url":"https://api.github.com/repos/numba/numba/issues/2309/labels{/name}","comments_url":"https://api.github.com/repos/numba/numba/issues/2309/comments","events_url":"https://api.github.com/repos/numba/numba/issues/2309/events","html_url":"https://github.com/numba/numba/issues/2309","id":213206389,"number":2309,"title":"Problem installing numba on MacOS Sierra, python 3.5","user":{"login":"guziy","id":900941,"avatar_url":"https://avatars3.githubusercontent.com/u/900941?v=3","gravatar_id":"","url":"https://api.github.com/users/guziy","html_url":"https://github.com/guziy","followers_url":"https://api.github.com/users/guziy/followers","following_url":"https://api.github.com/users/guziy/following{/other_user}","gists_url":"https://api.github.com/users/guziy/gists{/gist_id}","starred_url":"https://api.github.com/users/guziy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guziy/subscriptions","organizations_url":"https://api.github.com/users/guziy/orgs","repos_url":"https://api.github.com/users/guziy/repos","events_url":"https://api.github.com/users/guziy/events{/privacy}","received_events_url":"https://api.github.com/users/guziy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-10T00:17:25Z","updated_at":"2017-03-21T17:29:10Z","closed_at":null,"body":"Hi:\r\n\r\nI keep failing to install numba on my mac, does anyone know a solution for these errors?\r\n\r\nI am on a virtualenv and trying to do \"pip install numba\". I have installed llvmlite beforehand.\r\n\r\nBut while trying to install numba I get the following errors:\r\n\r\n```\r\n  building 'numba._dynfunc' extension\r\n    C compiler: /usr/bin/clang -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -g\r\n\r\n    creating build/temp.macosx-10.6-intel-3.5\r\n    creating build/temp.macosx-10.6-intel-3.5/numba\r\n    compile options: '-I/Users/huziy/virtualenvs/py3.5/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c'\r\n    Warning: Can't read registry to find the necessary compiler setting\r\n    Make sure that Python modules winreg, win32api or win32con are installed.\r\n    clang: numba/_dynfuncmod.c\r\n    /usr/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -g build/temp.macosx-10.6-intel-3.5/numba/_dynfuncmod.o -o build/lib.macosx-10.6-intel-3.5/numba/_dynfunc.cpython-35m-darwin.so\r\n    building 'numba._dispatcher' extension\r\n    C compiler: /usr/bin/clang -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -g\r\n\r\n    creating build/temp.macosx-10.6-intel-3.5/numba/typeconv\r\n    compile options: '-I/Users/huziy/virtualenvs/py3.5/lib/python3.5/site-packages/numpy/core/include -I/Users/huziy/virtualenvs/py3.5/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c'\r\n    clang: numba/_typeof.c\r\n    clang: numba/_hashtable.c\r\n    clang: numba/_dispatcherimpl.cpp\r\n    clang: numba/_dispatcher.c\r\n    clang: numba/typeconv/typeconv.cpp\r\n    /usr/bin/clang++ -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -g build/temp.macosx-10.6-intel-3.5/numba/_dispatcher.o build/temp.macosx-10.6-intel-3.5/numba/_typeof.o build/temp.macosx-10.6-intel-3.5/numba/_hashtable.o build/temp.macosx-10.6-intel-3.5/numba/_dispatcherimpl.o build/temp.macosx-10.6-intel-3.5/numba/typeconv/typeconv.o -L/Users/huziy/virtualenvs/py3.5/lib/python3.5/site-packages/numpy/core/lib -lnpymath -o build/lib.macosx-10.6-intel-3.5/numba/_dispatcher.cpython-35m-darwin.so\r\n    clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9\r\n    clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9\r\n    building 'numba._helperlib' extension\r\n    C compiler: /usr/bin/clang -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -g\r\n\r\n    compile options: '-I/Users/huziy/virtualenvs/py3.5/lib/python3.5/site-packages/numpy/core/include -I/Users/huziy/virtualenvs/py3.5/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c'\r\n    clang: numba/_math_c99.c\r\n    numba/_math_c99.c:26:21: warning: unused variable 'zero' [-Wunused-const-variable]\r\n    static const double zero = 0.0;\r\n                        ^\r\n    1 warning generated.\r\n    numba/_math_c99.c:26:21: warning: unused variable 'zero' [-Wunused-const-variable]\r\n    static const double zero = 0.0;\r\n                        ^\r\n    1 warning generated.\r\n    clang: numba/_helpermod.c\r\n    In file included from numba/_helpermod.c:13:\r\n    In file included from numba/_helperlib.c:978:\r\n    numba/_random.c:121:8: error: thread-local storage is not supported for the current target\r\n    static THREAD_LOCAL(rnd_state_t) numba_py_random_state;\r\n           ^\r\n    numba/_random.c:118:26: note: expanded from macro 'THREAD_LOCAL'\r\n    #define THREAD_LOCAL(ty) __thread ty\r\n                             ^\r\n    numba/_random.c:122:8: error: thread-local storage is not supported for the current target\r\n    static THREAD_LOCAL(rnd_state_t) numba_np_random_state;\r\n           ^\r\n    numba/_random.c:118:26: note: expanded from macro 'THREAD_LOCAL'\r\n    #define THREAD_LOCAL(ty) __thread ty\r\n                             ^\r\n    2 errors generated.\r\n    In file included from numba/_helpermod.c:13:\r\n    In file included from numba/_helperlib.c:978:\r\n    numba/_random.c:121:8: error: thread-local storage is not supported for the current target\r\n    static THREAD_LOCAL(rnd_state_t) numba_py_random_state;\r\n           ^\r\n    numba/_random.c:118:26: note: expanded from macro 'THREAD_LOCAL'\r\n    #define THREAD_LOCAL(ty) __thread ty\r\n                             ^\r\n    numba/_random.c:122:8: error: thread-local storage is not supported for the current target\r\n    static THREAD_LOCAL(rnd_state_t) numba_np_random_state;\r\n           ^\r\n    numba/_random.c:118:26: note: expanded from macro 'THREAD_LOCAL'\r\n    #define THREAD_LOCAL(ty) __thread ty\r\n                             ^\r\n    2 errors generated.\r\n    error: Command \"/usr/bin/clang -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -g -I/Users/huziy/virtualenvs/py3.5/lib/python3.5/site-packages/numpy/core/include -I/Users/huziy/virtualenvs/py3.5/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c numba/_helpermod.c -o build/temp.macosx-10.6-intel-3.5/numba/_helpermod.o\" failed with exit status 1\r\n\r\n    ----------------------------------------\r\nCommand \"/Users/huziy/virtualenvs/py3.5/bin/python3.5 -u -c \"import setuptools, tokenize;__file__='/private/var/folders/mg/xkyv03795m34bx69h2_w4td80000gp/T/pip-build-tq9mswya/numba/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" install --record /var/folders/mg/xkyv03795m34bx69h2_w4td80000gp/T/pip-kwh28cdq-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/huziy/virtualenvs/py3.5/include/site/python3.5/numba\" failed with error code 1 in /private/var/folders/mg/xkyv03795m34bx69h2_w4td80000gp/T/pip-build-tq9mswya/numba/\r\n```\r\n\r\n\r\nCheers"},"comment":{"url":"https://api.github.com/repos/numba/numba/issues/comments/288155867","html_url":"https://github.com/numba/numba/issues/2309#issuecomment-288155867","issue_url":"https://api.github.com/repos/numba/numba/issues/2309","id":288155867,"user":{"login":"guziy","id":900941,"avatar_url":"https://avatars3.githubusercontent.com/u/900941?v=3","gravatar_id":"","url":"https://api.github.com/users/guziy","html_url":"https://github.com/guziy","followers_url":"https://api.github.com/users/guziy/followers","following_url":"https://api.github.com/users/guziy/following{/other_user}","gists_url":"https://api.github.com/users/guziy/gists{/gist_id}","starred_url":"https://api.github.com/users/guziy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guziy/subscriptions","organizations_url":"https://api.github.com/users/guziy/orgs","repos_url":"https://api.github.com/users/guziy/repos","events_url":"https://api.github.com/users/guziy/events{/privacy}","received_events_url":"https://api.github.com/users/guziy/received_events","type":"User","site_admin":false},"created_at":"2017-03-21T17:29:10Z","updated_at":"2017-03-21T17:29:10Z","body":"Sorry for the delay, but I did set the deployment target, it did not help.\r\n\r\nCheers"}}
{"actor":{"display_login":"guziy"}}