简体   繁体   English

无法使用 Anaconda Navigator 启动 Jupyter Notebook

[英]Unable to launch Jupyter Notebook with Anaconda Navigator

I keep getting this error whenever I try to launch Jupyter.每当我尝试启动 Jupyter 时,我都会收到此错误。 No idea what does it mean.不知道是什么意思。

Traceback (most recent call last):
File "C:\Users\crimi\anaconda3\Scripts\jupyter-notebook-script.py", line 6, in 
from notebook.notebookapp import main
File "C:\Users\crimi\anaconda3\lib\site-packages\notebook\notebookapp.py", line 43, in 
from jinja2 import Environment, FileSystemLoader
File "C:\Users\crimi\anaconda3\lib\site-packages\jinja2\__init__.py", line 6, in 
from markupsafe import escape
ImportError: cannot import name 'escape' from 'markupsafe' (unknown location)

You are having problems with the library markupsafe , which is probably not installed or properly upgraded.您遇到了库markupsafe的问题,可能没有安装或正确升级。 I suggest you to open the terminal, activate the conda environment that you are using, and upgrade the package.建议你打开终端,激活你正在使用的conda环境,升级package。 You can use the following instruction:您可以使用以下指令:

pip install markupsafe --upgrade

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM