Sulot
Sulot

Reputation: 514

"sudo pip install Django" => sudo: pip: command not found

This what my terminal is saying when trying to install Django.

MacBook-XXXX:~ Stephane$ sudo pip install Django
sudo: pip: command not found

I have tested in idle shell if pip is installed:

>>> import easy_install
>>> import pip
>>>

What am I doing wrong?

Upvotes: 4

Views: 16170

Answers (2)

Namita Maharanwar
Namita Maharanwar

Reputation: 711

pip is a package management system used for installing packages written in python. So first install pip and then Django.

sudo apt-get install python-pip.

And for installing django, follow django installation steps.

Upvotes: 2

ThomasHoffLTD
ThomasHoffLTD

Reputation: 156

you need to install pip

sudo easy_install pip

Upvotes: 14

Related Questions