Pip 在 OS X 上使用 scipy 有困难.从源代码安装并非易事,所以我建议不要这样做.在 OS X 中,您有几个更好的选择:
Pip has difficulties with scipy on OS X in general. It is not trivial to install from the sources, so I advise against it. In OS X you have a few better options:
- Scipy superpack, a bunch of precompiled binaries
- Enthought Canopy (free or another) has already everything you'll need (numpy, scipy, matplotlib, etc.)
- Anaconda, a free scientific python distribution with probably all the packages you'll ever need.
- MacPorts, a comprehensive and flexible package manager that allows you to install and maintain a python distribution
- Homebrew, another popular package manager for OS X