Do you remember what library you installed? By looking at paths in the traceback, it seems that you may have two conflicting installations of markupsafe: one in Anaconda3 environment, and one in AppData\Roaming. It could be a result of mixing up conda install and pip install. Could you please:
- provide
conda listandpip list
2 . try runningpip uninstall markupsafeand checking if Jupyter now works?
Note: also seen in Jupyter Notebook Launch Error