Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Django Basics Say Hello to Django Installing Django

Running `pip install django` installs version "1.11". How can I install "1.8" that is referenced in the video?

-

3 Answers

The pip tool can install specific versions of packages. For example, to use the exact same version discussed in this video, use:

pip install django==1.8.1

More Info:

Django 1.8 is a Long Term Support (LTS) version. That means the window of time it will be maintained and updated is longer than other non-LTS versions. For example, the 1.9 version of Django (which is not LTS), stopped being supported on April 4, 2017. The 1.8 version (which is LTS) will continue to be supported until at least April 2018.

As of April, 2017, the latest in the 1.8 line is 1.8.18. To install and use it, run:

pip install django==1.8.18

More information about the different versions can be found on the Django Project Downloads page:

https://www.djangoproject.com/download/

Check out the "Previous Releases" section to see if there's a new 1.8 version to keep up to date.

I figured this one out. Thought it made sense to post and answer the question for anyone else who's interested.

pip install django==1.8.18

or try pip install django==1.18.1