SyntaxError: Generator expression must be parenthesized 关于解决python3.7创建django项目时报错问题

使用django-admin startproject django37,但运行的时候报错

SyntaxError: Generator expression must be parenthesized 关于解决python3.7创建django项目时报错问题

解决办法

步骤1

鼠标点击报错栏最后的一个文件。双击进去,找到其中的第152行,将最后的一个逗号去掉。

SyntaxError: Generator expression must be parenthesized 关于解决python3.7创建django项目时报错问题
步骤二

SyntaxError: Generator expression must be parenthesized 关于解决python3.7创建django项目时报错问题

再次运行就不会报错了!????

相关文章:

  • 2022-12-23
  • 2022-01-15
  • 2022-01-24
  • 2021-07-22
  • 2021-07-09
猜你喜欢
  • 2022-12-23
  • 2021-10-14
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2021-10-17
相关资源
相似解决方案