Traceback (most recent call last):
File “C:\Users\core2duo\anaconda3\Scripts\jupyter-notebook-script.py”, line 6, in
from notebook.notebookapp import main
File “C:\Users\core2duo\anaconda3\lib\site-packages\notebook\notebookapp.py”, line 44, in
from jinja2 import Environment, FileSystemLoader
File "C:\Users\core2duo\anaconda3\lib\site-packages\jinja2_init .py", line 12, in
from .environment import Environment
File “C:\Users\core2duo\anaconda3\lib\site-packages\jinja2\environment.py”, line 25, in
from .defaults import BLOCK_END_STRING
File “C:\Users\core2duo\anaconda3\lib\site-packages\jinja2\defaults.py”, line 3, in
from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401
File “C:\Users\core2duo\anaconda3\lib\site-packages\jinja2\filters.py”, line 13, in
from markupsafe import soft_unicode
ImportError: cannot import name ‘soft_unicode’ from ‘markupsafe’ (C:\Users\core2duo\AppData\Roaming\Python\Python39\site-packages\markupsafeinit _.py)
1 Like
dear mezo199999.
thank you for your posting.
Looking at the error code you provided to the Anaconda community, it seems that the following modules are missing.
markupsafe 2.1.1
Refer to the following site and import the corresponding module to solve the problem.
https://anaconda.org/conda-forge/markupsafe
Best regards
ktsh.tanaka.2020