`pip` python包的安装问题

`pip` python包的安装问题,python,pip,numba,Python,Pip,Numba,我正在尝试安装一个名为numba的python包。我想为python2.7安装它,因此当我运行sudopip2.7 install numba时,它会给出以下消息。有人能告诉我问题出在哪里吗?多谢各位 copying numba/tests/pycc_distutils_usecase/source_module.py -> build/lib.macosx-10.13-intel-2.7/numba/tests/pycc_distutils_usecase running bui

我正在尝试安装一个名为
numba
python
包。我想为
python2.7
安装它,因此当我运行
sudopip2.7 install numba
时,它会给出以下消息。有人能告诉我问题出在哪里吗?多谢各位

copying numba/tests/pycc_distutils_usecase/source_module.py -> build/lib.macosx-10.13-intel-2.7/numba/tests/pycc_distutils_usecase
    running build_ext
    building 'numba._dynfunc' extension
    C compiler: cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe

creating build/temp.macosx-10.13-intel-2.7
creating build/temp.macosx-10.13-intel-2.7/numba
compile options: '-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c'
cc: numba/_dynfuncmod.c
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.13-intel-2.7/numba/_dynfuncmod.o -o build/lib.macosx-10.13-intel-2.7/numba/_dynfunc.so
ld: in '/usr/local/lib/libunwind.dylib', file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libunwind.dylib for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: in '/usr/local/lib/libunwind.dylib', file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libunwind.dylib for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: Command "cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.13-intel-2.7/numba/_dynfuncmod.o -o build/lib.macosx-10.13-intel-2.7/numba/_dynfunc.so" failed with exit status 1

----------------------------------------
Command "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -c "import setuptools, 
tokenize;__file__='/private/tmp/pip-build-mt0h4y/numba/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 
install --record /tmp/pip-yCTE4v-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-mt0h4y/numba
这对我有用

 env ARCHFLAGS="-arch x86_64"  pip install python-binance

您确定
numba
软件包与您的系统操作系统和体系结构兼容吗
文件是为x86_64构建的,它不是要链接的体系结构(i386)
在我看来似乎是一个系统体系结构兼容性问题。
brew卸载llvm
刚刚对我有效。发布这个只是为了让其他人知道以防万一。嘿-只是出于好奇,为什么这个问题被否决了?