title: Django manage.py runserver invalid syntax
body: <p>I am developing a web in Ubuntu using django. Everything works normal. Now, I want to change my computer which use Windows. When I try to runserver, it gives:</p>
  
  <pre><code>E:\DEGNet&gt;py manage.py runserver
    File "manage.py", line 14
      ) from exc
           ^
  SyntaxError: invalid syntax
  
  E:\DEGNet&gt;py
  Python 3.6.3 (v3.6.3:2c5fed8, Oct  3 2017, 18:11:49) [MSC v.1900 64 bit (AMD64)]
   on win32
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt;
  </code></pre>
  
  <p>As shown above, I have installed Python 3.6.3. I have installed django and other necessary library using pip3 too.</p>
  
  <p>Edit: manage.py file, it is a default manage.py that I get when generating the project.</p>
  
  <pre><code>#!/usr/bin/env python
  import os
  import sys
  
  if __name__ == "__main__":
      os.environ.setdefault("DJANGO_SETTINGS_MODULE", "DEGNet.settings")
      try:
          from django.core.management import execute_from_command_line
      except ImportError as exc:
          raise ImportError(
              "Couldn't import Django. Are you sure it's installed and "
              "available on your PYTHONPATH environment variable? Did you "
              "forget to activate a virtual environment?"
          ) from exc
      execute_from_command_line(sys.argv)
  </code></pre>