1.在浏览器中使用jupyter
1.安装jupyter notebook
pip install jupyter
2.生成Jupyter Notebook配置文件
jupyter notebook --generate-config
执行成功:
[root@iZbp173czfyjpvvdm6k4amZ ~]# jupyter notebook --generate-config
Writing default config to: /root/.jupyter/jupyter_notebook_config.py
3.设置Jupyter Notebook密码
[root@iZbp173czfyjpvvdm6k4amZ ~]# python3
Python 3.9.0 (default, Nov 4 2021, 16:08:45)
[GCC 8.4.1 20200928 (Red Hat 8.4.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from IPython.lib import passwd
>>