1 连接服务器后,在vscode终端输入 pip install jupyter

2 之后输入:jupyter notebook

期间可能出现的错误及解决措施:
在网页中使用jupyter

错误

解决措施:
不要慌张,新建一个环境:
conda create --name 名字
重新进入vscode
输入:conda init

然后激活环境

再输入1安装指令即可。
此时在终端输入,还是会报错

最后在终端进行配置
输入jupyter notebook --generate-config --allow-root

找到上图文件夹,参考链接:Running as root is not recommended. Use --allow-root to bypass
修改配置文档
最后
以上就是美好水蜜桃最近收集整理的关于vscode中使用juypter-notebook的全部内容,更多相关vscode中使用juypter-notebook内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复