title: Trouble installing Django: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-rcF9a5/Django/
body: <p>I'm trying to install Django via command prompt. I used <code>pip install Django</code> but got this message:</p>
  
  <pre><code>Collecting Django
    Using cached `Django-2.0.tar.gz`
  </code></pre>
  
  <p>Complete output from command <code>python setup.py egg_info</code>:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;string&gt;", line 1, in &lt;module&gt;
    File "/tmp/pip-build-rcF9a5/Django/setup.py", line 32, in &lt;module&gt;
      version = __import__('django').get_version()
    File "django/__init__.py", line 1, in &lt;module&gt;
      from django.utils.version import get_version
    File "django/utils/version.py", line 61, in &lt;module&gt;
      @functools.lru_cache()
  AttributeError: 'module' object has no attribute 'lru_cache'
  </code></pre>
  
  <p><br></p>
  
  <pre><code>Command **`"python setup.py egg_info"`** failed with error code 1 in **/tmp/pip-build-rcF9a5/Django/**
  </code></pre>
  
  <p>How do I fix this?</p>