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
修改配置文档