2023-07-16
阅读量:
2583
CDA学习- jupyter notebook安装后, 输入python代码执行没反应,而且in[ ]没有*星号
1,问题 jupyter notebook安装后, 输入代码测试,执行代码却没反应而且in[ ]没有*星号
2 解决方法:
倘若Jupyter notebook运行代码没反应且不显示星号、或内核显示正忙,或jupyter notebook local host已拒绝链接可能的原因之一
这是因为Windows电脑用户名中含有中文,
解决办法如下:
方案1:
将用户变量中TEMP和TMP中的变量值用"%systemroot%\TEMP"替换原有的变量值。
操作如下:打开 我的电脑--属性--高级系统设置--高级--环境变量 --xxxx的用户变量(xxxx对你用户名的简写)--编辑
方案2:
在D盘建立一个名为TMEP的文件夹,
将用户变量中TEMP和TMP中的变量值用"D:\TEMP"替换原有的变量值。
操作如下:打开 我的电脑--属性--高级系统设置--高级--环境变量 --xxxx的用户变量(xxxx对你用户名的简写)--编辑
方案3:
将你的电脑用户名由中文修改为英文






评论(0)


暂无数据
推荐帖子
0条评论
0条评论
0条评论