[C 19:57:24.973 NotebookApp] Bad config encountered during initialization:
[C 19:57:24.973 NotebookApp] Element of the ‘static_custom_path’ trait of a Note
bookApp instance must be a unicode string, but a value of ‘c:\\\xb8\xf7\xd6\xd6\
xb3\xcc\xd0\xf2\\lib\\site-packages\\notebook\\static\\custom’ was
specified.
安装jupyter有问题,先py -3 -m pip install –upgrade pip再安装试试
使用python3.8不能运行jupyter的同学注意,因为jupyter依赖Tornado 模块,而Tornado 模块和python3.8的同志们有点不愉快,英语好的可以读读https://github.com/tornadoweb/tornado/issues/2608 ,所以python3.8能安装成功jupyter,但是jupyter不能启动。所以我很贴心的为大家准备了python3.7,来这里下载python3.7 (http://www.giseden.xyz/?p=86) 吧,然后py -3.7 -m pip install jupyter -i https://pypi.tuna.tsinghua.edu.cn/simple 安装,然后py -3.7 -m jupyter notebook运行起来
是不是安装了Tornado 模块就没事了?
并不是,是Tornado 团队和python团队有技术分歧,python3.8不支持Tornado 了,而jupyter又必须用Tornado ,所以你不能用python3.8使用jupyter了,只能用python3.8以外的版本,比如python3.7
我先装了python3.7,装了jupyter,升级了pip,之后运行py -3.7 -m jupyter notebook,还是报错。
贴报错代码
你可以用python3.7新建一个虚拟环境,在虚拟环境里安装jupyter,然后再试试可不可以
[C 19:57:24.973 NotebookApp] Bad config encountered during initialization:
[C 19:57:24.973 NotebookApp] Element of the ‘static_custom_path’ trait of a Note
bookApp instance must be a unicode string, but a value of ‘c:\\\xb8\xf7\xd6\xd6\
xb3\xcc\xd0\xf2\\lib\\site-packages\\notebook\\static\\custom’ was
specified.
你把你的python安装路径给我说一下
路径里不能有中文,特别是python2
cd jupyter 回车后为啥说系统找不到路径
cd是进入文件夹,你看看你所在的目录有jupyter这个文件夹吗
cd jupyter回车后报错,也是因为Python 3.8 的原因吗
因为你没有jupyter文件夹,cd命令和python没关系