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/manage.py", line 22, in <module>
    main()
  File "/Users/user/Documents/django-projects/tango_with_django_project/manage.py", line 11, in main
    from django.core.management import execute_from_command_line
  File "/opt/homebrew/lib/python3.9/site-packages/django/core/management/__init__.py", line 54
    except ImportError,e:
                      ^
SyntaxError: invalid syntax