LoginSignup
4
5

More than 5 years have passed since last update.

numbaインストール on mac

Posted at
  • 普通にpipで入れると怒られる
$ sudo pip3 install numba

これが出る

RuntimeError: llvm-config failed executing, please point LLVM_CONFIG to the path for llvm-config
  • なのでまずはllvmを入れる
$ brew install llvm
  • LLVM_CONFIGをllvmのllvm-configにリンク
$ sudo -s  //rootになる
$ export LLVM_CONFIG=/path/to/llvm-config
$ exit
  • とりあえずllvmliteを入れてみる
$ sudo pip3 install llvmlite
  • 成功!
Successfully installed llvmlite-0.8.0
  • 次numbaをインストーリ
$ sudo pip3 install numba
...
Successfully installed numba-0.22.1

おしまい。

4
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5