LoginSignup
4
5

More than 5 years have passed since last update.

Marvericksにnumpyをインストールする

Last updated at Posted at 2014-05-17
sudo pip install numpy

をしたら以下のエラーが出た。

RuntimeError: Broken toolchain: cannot link a simple C program

解決策

以下のコマンドを実行した。

$ sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install --upgrade numpy

成功!

Successfully installed numpy
Cleaning up...

参考

problems-with-pip-install-numpy-runtimeerror-broken-toolchain-cannot-link-a

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