miniconda3 安装jupyter notebook并配置网络访问

由于服务器安装的miniconda3,无jupyter notebook,所以手工安装jupyter notebook

1 先conda 安装相关包

在base 环境下

conda install ipython

conda install jupyter notebook

2 生成配置文件

jupyter notebook --generate-config

Writing default config to: /home/***/.jupyter/jupyter_notebook_config.py

3 生成密码

此处不再配置字体

然后配置网络访问的密码

jupyter notebook password

Enter password:
Verify password:
[JupyterPasswordApp] Wrote hashed password to /home/***/.jupyter/jupyter_server_config.json
打开上述文件,获取密文密码

  {
    "IdentityProvider": {
      "hashed_password": "argon2:$argon2id$v=19$m=10240,t=10,p=8***"
     }
  }

然后打开/home/***/.jupyter/jupyter_notebook_config.py

配置密码也可以python 脚本执行

输入python进入python脚本

from notebook.auth import passwd
passwd()
Enter password

Verify password

评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值