在安裝了pip之後,要將pip新增到環境變數:c:\python27\scripts
(安裝)
cd到相應的目錄後,執行命令 到相應的目錄後,執行命令pip install numpy-1.12.1rc1-cp27-none-win_amd64.whl
提示successfully installed表示安裝成功。d:\>pip install numpy-
1.12
.1rc1-cp27
-none
-win_amd64
.whl
processing d:\numpy-
1.12
.1rc1-cp27
-none
-win_amd64
.whl
installing collected packages: numpy
successfully installed numpy-
1.12
.1rc1
(顯示包資訊)
在安裝成功之後,可明明用命令pip show numpy顯示包資訊。
(查詢所有安裝的包)d:\>pip show numpy
name: numpy
version:
1.12
.1rc1
summary: numpy: array processing for numbers, strings, records, and objects.
home-page:
.org
author: numpy developers
author-email: numpy-discussion@scipy.org
license: bsd
location: c:\python27\lib\site-packages
requires:
使用pip list命令顯示所有安裝的包。
(解除安裝包)d:\>pip list
deprecation: the default
format will switch to columns in the future. you can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
numpy (1.12
.1rc1)
pip (9.0
.1)setuptools (28.8
.0)
pip uninstall numpy
pip安裝和使用
pip用來管理和安裝python包非常方便。怎麼簡單介紹下如何安裝pip以及pip常用命令的使用 curl o python get pip.py 顯示如下資訊,表示安裝成功 downloading unpacking pip downloading pip 1.5.2 py2.py3 none a...
pip 安裝使用詳解
pip類似redhat裡面的yum,安裝python包非常方便。本節詳細介紹pip的安裝 以及使用方法。wget no check certificate 1.2 pip安裝 tar xzvf pip 1.5.4.tar.gz cd pip 1.5.4 python setup.py install...
pip安裝使用詳解
pip類似centos裡面的yum,安裝python包非常方便。本節詳細介紹pip的安裝 以及使用方法。windows安裝 windows版本在2.7.9及以上版本才提供的有pip的安裝,安裝python的時候缺省會安裝pip,但是需要選中add python.ext to path,這個安裝成功後...