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
- [Django]-How to omit object name from Django's TabularInline admin view?
- [Django]-Nginx and supervisor setup in Ubuntu
- [Django]-How to get GET request values in Django Templates?
- [Django]-How to override the django admin translation?
- [Django]-What is StatReloader while running Django?
- [Django]-Django order_by query set, ascending and descending
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
- [Django]-How do I insert a django form in twitter-bootstrap modal window?
- [Django]-How to unit test file upload in django
- [Django]-What's the difference between CharField and TextField in Django?
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.
- [Django]-In a django model custom save() method, how should you identify a new object?
- [Django]-Using django-admin on windows powershell
- [Django]-How can I filter a date of a DateTimeField in Django?