LoginSignup
0
1

More than 1 year has passed since last update.

M1 Macにnumbaをインストールする (numpy-quaternion)

Posted at

numpy-quaterionをインストールして使用すると,

/Users/yura/.pyenv/versions/3.8.11/lib/python3.8/site-packages/quaternion/numba_wrapper.py:23: UserWarning: 

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Could not import from numba, which means that some
parts of this code may run MUCH more slowly.  You
may wish to install numba.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

のような警告がでるので,pip install numbaが通らなかったのでインストール方法をメモ

$ brew install cmake
$ arch -arm64 brew install llvm@11
$ LLVM_CONFIG="/opt/homebrew/Cellar/llvm@11/11.1.0_3/bin/llvm-config" arch -arm64 python3 -m pip install llvmlite
$ pip install numba
0
1
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
0
1