nicolashery / mac-dev-setup

A beginner's guide to setting up a development environment on macOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

numpy and scipy installation issues

dduugg opened this issue · comments

I think the preferred way to install numpy and scipy is now via Homebrew's own Python formulae:

$ brew install homebrew/python/numpy
$ brew install homebrew/python/scipy

It's no longer necessary install gcc either (and doing so will lead to the issue described here). Happy to submit a PR if you agree.

On 2.8GHz macbook it took me ~43 minutes to install gcc.

There are some questions around the internet from people worrying about the long install time, and some not even waiting for the build, so it might be useful to add to the warning if you keep it in.

Thanks for raising the issue. I updated the guide (bffbe4b), and I now explain how to install an Anaconda/Miniconda distribution, which makes it easier to install Numpy and Scipy.