Kenil Vasani 646 Questions 567 Answers 77 Best Answers 26 Points View Profile 3 Kenil Vasani Asked: December 11, 20202020-12-11T20:35:46+00:00 2020-12-11T20:35:46+00:00In: Python SyntaxError: Generator expression must be parenthesized 3 I just installed django and after installing that I created a django project and was trying to run django server by command: python manage.py runserver After that I’am getting error as: SyntaxError: Generator expression must be parenthesized djangopython Share Facebook 1 Answer Voted Rohit Patel 0 Questions 98 Answers 0 Best Answers 0 Points View Profile Best Answer Rohit Patel 2020-12-11T20:35:26+00:00Added an answer on December 11, 2020 at 8:35 pm TL; DR: Upgrade Django to version 1.11.17+ or 2.0+ This error is a known incompatibility related to Python issue #32012. Projects based on Django 1.11.16 and below will raise this exception when started with Python 3.7. A patch for this issue has been merged into Django 2.0 and 2.1 branches and cherry-picked later into Django 1.11.17. Note: Python 3.7 is officially supported by Django 1.11.17 and above, including any 2.x branch. 0 Share Share Share on Facebook Share on Twitter Share on LinkedIn Share on WhatsApp You must login to add an answer. Username or email* Password* Remember Me! Forgot Password?