LoginSignup
1
1

More than 3 years have passed since last update.

SciPy 1.4 のソースビルドには pybind11 が必要

Posted at
  • 環境: Debian 10 (native/WSL), Python 3.8

普段 scipy を pip でインストールするときにソースビルドして Intel-MKL とリンク していたのですが, scipy 1.4 からビルドに失敗するようになりました. なんでかなと思ったら, この issue で述べられているように, scipy 1.4 から pybind11 が必要になったからでした. なのでアップグレード前にインストールします.

$ pip3 install pybind11
$ pip3 install --upgrade --no-binary :all: scipy

これでできました.

$ pip3 freeze | grep scipy
scipy==1.4.1

その他の要求については 公式のドキュメント を参照してください.

1
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
1
1