نصب pip در اوبونتو ۱۴.۰۴

pip به صورت پیش فرض در پایتون از قبل نصب شده روی اوبونتو ۱۴.۰۴ نصب نیست برای نصب می توان از راه های زیر استفاده کرد:

 Install Pip with apt-get, Step 1a: The Installation

As a matter of best practice we’ll update our packages:

apt-get update

Then let’s install python-pip and any required packages:

apt-get -y install python-pip

And skip to Step 2.

Install Pip with Curl and Python, Step 1b: The Installation We can also use curl and python to download and install Pip.
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"

python get-pip.py
Step 2: Verify The Installation View a list of helpful commands:
pip --help

Check the version of Pip that is installed:

pip -V

Which should yield something similar to:

pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)

Or similar to:

pip 6.0.8 from /usr/local/lib/python2.7/dist-packages (python 2.7)


Posted

in

,

by

Tags: