Python工具包安装

来源:互联网 发布:电脑配件京东还是淘宝 编辑:程序博客网 时间:2024/04/30 02:09

Python工具包的下载和安装可以借助pip工具(有点类似ubuntu的apt-get)

首先,下载pip工具,下载地址:https://pypi.python.org/pypi/pip

pip is already installed if you're using Python 2 >=2.7.9 or Python 3 >=3.4 downloaded frompython.org, but you'll need to upgrade pip.) https://pip.pypa.io/en/stable/installing/#do-i-need-to-install-pip

Upgrading pip

On Linux or OS X:

pip install -U pip

On Windows [5]:

python -m pip install -U pip
之后会看到pip自动安装到python目录下的Scripts文件夹中。

然后cmd进入该文件夹下,如我的:cd Python27\Scripts\(c盘下)

下载并安装工具包:

pip install numpy

pip install matplotlib

pip installdateutil

pip install pyparsing





0 0
原创粉丝点击