sudo: pip: command not found This is what my terminal says when trying to install Django. MacBook-XXXX:~ Stephan...">

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

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

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

I tested in an unused shell if pip is installed:

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

What am I doing wrong?

+4
source share
2 answers

you need to install pip

sudo easy_install pip
+12
source

pipis a package management system used to install packages written in python. Therefore, first install pip, and then Django.

sudo apt-get install python-pip.

And to install, Djangofollow the steps to install django.

+2
source

All Articles