Jupyter Notebook TypeError: type 'List' is not subscriptable

Hi, I am new to jupyter notebook and I get this error when attempting to open notebook. How can I fix this?
$ jupyter notebook
Traceback (most recent call last):
File “”, line 198, in run_module_as_main
File “”, line 88, in run_code
File "C:\Users\chuch\AppData\Local\Programs\Python\Python312\Scripts\jupyter-notebook.EXE_main
.py", line 7, in
File “C:\Users\chuch\AppData\Local\Programs\Python\Python312\Lib\site-packages\jupyter_core\application.py”, line 283, in launch_instance
super().launch_instance(argv=argv, **kwargs)
File “C:\Users\chuch\AppData\Local\Programs\Python\Python312\Lib\site-packages\traitlets\config\application.py”, line 1042, in launch_instance
app.initialize(argv)
File “C:\Users\chuch\AppData\Local\Programs\Python\Python312\Lib\site-packages\traitlets\config\application.py”, line 113, in inner
return method(app, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\chuch\AppData\Local\Programs\Python\Python312\Lib\site-packages\notebook\notebookapp.py”, line 2149, in initialize
self.init_webapp()
File “C:\Users\chuch\AppData\Local\Programs\Python\Python312\Lib\site-packages\notebook\notebookapp.py”, line 1757, in init_webapp
self.web_app = NotebookWebApplication(
^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\chuch\AppData\Local\Programs\Python\Python312\Lib\site-packages\notebook\notebookapp.py”, line 177, in init
settings = self.init_settings(
^^^^^^^^^^^^^^^^^^^
File “C:\Users\chuch\AppData\Local\Programs\Python\Python312\Lib\site-packages\notebook\notebookapp.py”, line 300, in init_settings
nbextensions_path=jupyter_app.nbextensions_path,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\chuch\AppData\Local\Programs\Python\Python312\Lib\site-packages\notebook\notebookapp.py”, line 1327, in nbextensions_path
from IPython.paths import get_ipython_dir
File "C:\Users\chuch\AppData\Local\Programs\Python\Python312\Lib\site-packages\IPython_init
.py", line 55, in
from .terminal.embed import embed
File “C:\Users\chuch\AppData\Local\Programs\Python\Python312\Lib\site-packages\IPython\terminal\embed.py”, line 15, in
from IPython.core.interactiveshell import DummyMod, InteractiveShell
File “C:\Users\chuch\AppData\Local\Programs\Python\Python312\Lib\site-packages\IPython\core\interactiveshell.py”, line 326, in
class InteractiveShell(SingletonConfigurable):
File “C:\Users\chuch\AppData\Local\Programs\Python\Python312\Lib\site-packages\IPython\core\interactiveshell.py”, line 331, in InteractiveShell
ast_transformers: List[ast.NodeTransformer] = List(
~~~~^^^^^^^^^^^^^^^^^^^^^
TypeError: type ‘List’ is not subscriptable

You probably want to read the thread here.
You may wish to check what version if traitlets you have or downgrade IPython for now. Hopefully that is compatible with other components like Python 3.12.