python – Invalid Syntax: ImportError,e

I am trying to make migrations for my Django project, it was working and building fine before I installed and implemented the Django registration-redux module.

These are the errors I currently get and I don’t understand why or how to fix it.

 File "/Users/user/Documents/django-projects/tango_with_django_project/", line 22, in <module>
  File "/Users/user/Documents/django-projects/tango_with_django_project/", line 11, in main
    from import execute_from_command_line
  File "/opt/homebrew/lib/python3.9/site-packages/django/core/management/", line 54
    except ImportError,e:
SyntaxError: invalid syntax