jupyter

No module named 'jupyter_core'


解决方法:

pip3 install --upgrade jupyter_core

pip3 install --upgrade notebook

pip3 install --upgrade lesscpy

pip3 install --upgrade jupyterthemes

又出现:No module named 'ipython_genutils.py3compat'


解决方法1:

pip install py3compat (依然没好)

解决方法2:

使用conda重新安装jupyter

conda install -c conda-forge jupyter

生成jupyter配置文件:

jupyter notebook --generate-config

ipython

from notebook.authimport passwd

passwd()  #创建密码并生成一串字符,以备后用

exit()

修改配置文件

vi~/.jupyter/jupyter_notebook_config.py

vi ~/.jupyter/jupyter_notebook_config.py

c.NotebookApp.notebook_dir=

c.NotebookApp.ip = '*'

c.NotebookApp.password= u'****#$cb358'#这里需要改为第(2)步你自己电脑上生成的密钥字符串

#c.NotebookApp.port =9001

jupyter notebook

jupyter 好了~

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容