其他分享
首页 > 其他分享> > Jupyter notebook 报错:ImportError: cannot import name 'secure_write'

Jupyter notebook 报错:ImportError: cannot import name 'secure_write'

作者:互联网

github上有这个回答:https://github.com/jupyter/notebook/issues/5014

看起来部分可以用这个解决:

pip install --upgrade jupyter_client

但是还不好用,试了这个:

(替换了paths.py文件) https://community.deepcognition.ai/t/importerror-cannot-import-name-secure-write/1134

用everything找jupyter_core文件夹,把其中paths.py文件替换为下面的文件:

(https://github.com/jupyter/jupyter_core/blob/master/jupyter_core/paths.py)

解决问题

标签:paths,github,Jupyter,name,core,py,报错,https,jupyter
来源: https://www.cnblogs.com/agis/p/16572417.html