Scipy 简明教程

SciPy - Environment Setup

标准 Python 发行版不附带任何 SciPy 模块。一种轻量级的替代方案是使用流行的 Python 包安装程序安装 SciPy,

pip install pandas

如果我们安装 Anaconda Python package ,Pandas 将被默认安装。以下是安装它们的不同操作系统的包和链接。

Windows

Anaconda (链接: https://www.continuum.io )是 SciPy 堆栈的免费 Python 分发。它也可以在 Linux 和 Mac 上使用。

Canopy ( https://www.enthought.com/products/canopy/ )提供免费版,以及商业版,其中包含适用于 Windows、Linux 和 Mac 的完整 SciPy 堆栈。

Python (x,y) − 它是 Windows 操作系统的 SciPy 堆栈和 Spyder IDE 的一个免费 Python 分发。(可从 https://python-xy.github.io/ 下载)

Linux

使用各个 Linux 发行版的包管理器来安装 SciPy 堆栈中的一个或多个包。

Ubuntu

我们可以使用以下路径在 Ubuntu 中安装 Python。

sudo apt-get install python-numpy python-scipy
python-matplotlibipythonipython-notebook python-pandas python-sympy python-nose

Fedora

我们可以使用以下路径在 Fedora 中安装 Python。

sudo yum install numpyscipy python-matplotlibipython python-pandas
sympy python-nose atlas-devel