且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在 Mac Mountain Lion OS X v10.8 上使用 pip 安装 Scipy

更新时间:2023-09-30 09:17:52

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,一堆预编译的二进制文件
  • Enthought Canopy(免费或其他)已经拥有您需要的一切(numpy、scipy、matplotlib 等)
  • Anaconda,一个免费的科学 Python 发行版,可能包含您需要的所有软件包.
  • MacPorts,一个全面而灵活的包管理器,可让您安装和维护 Python 发行版
  • Homebrew,另一个流行的 OS X 包管理器
  • 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