官术网_书友最值得收藏!

How to install PIP: a more user friendly Python package installer

First, let us have a look at some background on PIP.

You do not have to install PIP if you do not want to; the choice is yours. You can continue to use easy_install if you like.

Note

According to the Distribute propaganda, PIP works with the current Distutils library and it will work with Distutils 2, whereas the future of easy_install is uncertain.

And now we shall install PIP.

Installing PIP on Mac OS X

To install PIP, open Finder | Applications | Utilities | Terminal and type:

$ sudo easy_install pip

You should see:

To verify that PIP works, type:

$ sudo pip

You should see:

We have just finished demonstrating how to install and test PIP on Ubuntu Linux.

Installing PIP on Windows 7

To install PIP, select Start | All Programs | Accessories | Command Prompt and type:

$ easy_install pip

You should see:

To verify that PIP works, type:

$ pip

You should see:

We have just finished demonstrating how to install and test PIP on Windows.

Installing PIP on Ubuntu Linux

To install PIP, open Applications | Accessories | Terminal and type:

$ sudo easy_install pip

You should see:

To verify that PIP works, type:

$ sudo pip

You should see:

We have just finished demonstrating how to install and test PIP on Ubuntu Linux.

主站蜘蛛池模板: 读书| 噶尔县| 元阳县| 康平县| 古交市| 兰州市| 津市市| 五寨县| 民县| 沧州市| 涪陵区| 平湖市| 金塔县| 安徽省| 安化县| 嘉峪关市| 平陆县| 开平市| 通渭县| 道真| 凤台县| 三门县| 阿拉善右旗| 陈巴尔虎旗| 太康县| 象州县| 灵山县| 镇安县| 桑日县| 封开县| 嘉兴市| 航空| 自贡市| 连城县| 黄骅市| 仪陇县| 宜阳县| 石狮市| 景东| 阜康市| 长宁县|