Hi, When I am launching the jupyter lab from CMD or ANACONDA .given error shown.
Traceback (most recent call last):
File “C:\Users\Lenovo\anaconda3\Scripts\jupyter-lab-script.py”, line 6, in
from jupyterlab.labapp import main
File “C:\Users\Lenovo\anaconda3\Lib\site-packages\jupyterlab_init_.py”, line 8, in
from .handlers.announcements import (
File “C:\Users\Lenovo\anaconda3\Lib\site-packages\jupyterlab\handlers\announcements.py”, line 14, in
from jupyter_server.base.handlers import APIHandler
File “C:\Users\Lenovo\anaconda3\Lib\site-packages\jupyter_server\base\handlers.py”, line 23, in
from jinja2 import TemplateNotFound
File “C:\Users\Lenovo\anaconda3\Lib\site-packages\jinja2_init_.py”, line 9, in
from .environment import Environment as Environment
File “C:\Users\Lenovo\anaconda3\Lib\site-packages\jinja2\environment.py”, line 15, in
from markupsafe import Markup
ModuleNotFoundError: No module named ‘markupsafe’
Your post is light on details. I know the error is slightly different than here but it looks related enough that the guidance in the top part of my post may help you in providing more detail or troubleshooting some yourself. It is important to keep in mind though that since you are using Anaconca/conda, you’d want to continue to use that to install anything and not pip
.