It seems like this is an issue with the version of Python you're using. I went to both the PyPI page of typing_extensions and its documentation and it mentions that the library only suports Python 3.8 onwards.
I'm still trying to reproduce the error, since my debugger doesn't support Python 3.7. If I'm successful at doing so, I'll update this answer.