[Django]-Can't install Django 2.0 by pip

63👍

Django 2.x is not supported using Python 2.x.

From the Django download page:

We recommend using the latest version of Python 3. The last version to
support Python 2.7 is Django 1.11 LTS.

You should use Python 3.x with Pip3:

pip3 install Django

17👍

if python3 is installed then try

pip3 install Django==2.0.2

1👍

Django 2.0 only supports Python 3.x

1👍

Same stuation is happen to me for django 2.1.2. I’ve tried this one below and its work fine for me.

pip3 install django==2.1.2

0👍

From the Release Notes

Python compatibility Django 2.0 supports Python 3.4, 3.5, and 3.6. We
highly recommend and only officially support the latest release of
each series. The Django 1.11.x series is the last to support Python
2.7. Django 2.0 will be the last release series to support Python 3.4. If you plan a deployment of Python 3.4 beyond the end-of-life for
Django 2.0 (April 2019), stick with Django 1.11 LTS (supported until
April 2020) instead. Note, however, that the end-of-life for Python
3.4 is March 2019.

Leave a comment