1

I'm using this tutorial to install Django with Postgresql in my Ubuntu 14.04.

In the 4th step, it asked me to go to my python directory, so I ran $ whereis python2.7 and I got multiple directories. One is the shortcut stored in /usr/bin, one is a library in usr/lib/python2.7, and there are many others.

And because of this very reason, I'm not sure where I am supposed to navigate to find my Python directory and continue the installation.

Zanna
  • 72,312

1 Answers1

2

That tutorial doesn't make sense or is really old.

First you should be aware that this tutorial is intended to install the development Django version, not a stable one. While this can make sense to develop Django programs or to learn it, it's probably a very, very bad idea to do for production.

Second, it's not going to work, Django now uses git to manage its source code, not subversion. If you really want to install the development version, use the official guide. You should read it, but if you have git and pip installed (you should) just issue this two commands.

git clone git://github.com/django/django.git django-trunk sudo pip
install -e django-trunk/
David Foerster
  • 36,890
  • 56
  • 97
  • 151
Javier Rivera
  • 35,434