idea搭建jupyternotebook
时间: 2023-11-11 10:04:51 浏览: 212
搭建Jupyter Notebook需要进行以下步骤:
1. 安装Anaconda或Miniconda。
2. 在Anaconda Prompt或终端中安装Jupyter Notebook:conda install jupyter notebook。
3. 生成Jupyter Notebook配置文件:jupyter notebook --generate-config。
4. 生成登录密码:jupyter notebook password。
5. 修改配置文件,设置监听地址和端口:sed -ie "s/#c.NotebookApp.ip = 'localhost'/c.NotebookApp.ip = '0.0.0.0'/g" ~/.jupyter/jupyter_notebook_config.py 和 sed -ie 's/#c.NotebookApp.port = 8888/c.NotebookApp.port = 3030/g' ~/.jupyter/jupyter_notebook_config.py。
6. 启动Jupyter Notebook服务:jupyter notebook --allow-root &。
阅读全文
相关推荐














