我已尽一切可能安装 eo-learn 但它不起作用 使用 Conda 不起作用 我最接近的是使用 pip,但我在尝试安装 numba 时卡住了
采取的步骤
brew install llvm
export LLVM_CONFIG=/opt/homebrew/opt/llvm/bin/llvm-config
LLVM_CONFIG=/opt/homebrew/opt/llvm/bin/llvm-config pip install numba
LLVM_CONFIG=/opt/homebrew/opt/llvm/bin/llvm-config pip install llvmlite which is the major dependency breaking for now
brew link llvm
Warning: Refusing to link macOS provided/shadowed software: llvm
If you need to have llvm first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.zshrc
For compilers to find llvm you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
I have added the flags
brew link -force llvm
Warning: Refusing to link macOS provided/shadowed software: llvm
If you need to have llvm first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.zshrc
For compilers to find llvm you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
我已经做了我所知道的一切有人请帮助我
有人能告诉我如何让安装程序识别它