Help to install Django. When I extract the file the contents have been just dumped all over my Home folder and when I try to either import django or sudo install
it I get errors.
Asked
Active
Viewed 9,053 times
3
2 Answers
6
Unless you need some cutting-edge newest version of Django, I would recommend installing it from Ubuntu's software repositories instead. From a terminal you can do this by typing
sudo apt-get install python-django
The most popular free open source software needed is available in Ubuntu's software repositories so that you won't have to do installations manually.
If you want to list all the subpackages of django that are available, you may use the command
apt-cache search django python
If you prefer not to use the terminal for installation, you can open up Ubuntu Software Centre and search for the packages there. You might have to check "Show technical items" in the bottom left corner for some packages.

dragly
- 320
1
An incredibly cool way to install django is this way:
sudo apt-get install python python3 python-pip
sudo pip install django

kevlarsen
- 11
- 1
Basically, I believe languages and package managers should be installed by apt-get, in order for best compatibility with the OS, but packages for languages should be installed by language-specific package managers to get latest versions and breadth of choices.
I use RVM for Ruby, NPM for Node.JS, and PIP for Python
– kevlarsen Dec 05 '14 at 12:14