连接服务器的jupyter notebook
连接服务器可视化编程 方案1:服务器的jupter notebook 配置 1. 在命令行生产配置文件: $ jupyter notebook --generate-config 2.设置密码: 方法 A(5.0vision)推荐 $ jupyter notebook password Enter password: **** Verify password: **** [NotebookPasswordApp] Wrote hashed password to /Users/you/.jupyter/jupyter_notebook_config.json 方法 B 在ipython或者python 运行环境中调用设置密码>>from notebook.auth import passwd In [2]: passwd() Enter password: xxxxxx Verify password: xxxxxx Out[2]: 'sha1:67c9e60bb8b6:9ffede0825894254b2e042ea597d771089e11aed' # 这一密钥要复制到下面的配置文件中 3.修改配置文件 用任意编辑器打开刚刚生产的文件,一般linux在user文件夹下/.jupyter, win 默认安装在c:\user\user.jupyter 下: 找到下面几个部分进行修改