anaconda+jupyter notebook 安装配置

安装Anaconda

清华大学开源软件镜像站
清华大学开源软件镜像站选择合适自己的版本

wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-5.2.0-Linux-x86_64.sh
chmod u+x Anaconda3-5.2.0-Linux-x86_64.sh
bash Anaconda3-5.2.0-Linux-x86_64.sh
Please, press ENTER to continue
>>>
点回车

===================================
Anaconda End User License Agreement
===================================
点q退出

Do you accept the license terms? [yes|no]
输入yes

Anaconda3 will now be installed into this location:
/home/zhangxiao/anaconda3
  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below
点回车开始安装

Do you wish the installer to prepend the Anaconda3 install location
to PATH in your /home/zhangxiao/.bashrc ? [yes|no]
输入yes

Do you wish to proceed with the installation of Microsoft VSCode? [yes|no]
输入no

更新使安装生效

source  .bashrc

终端输入conda验证安装成功

jupyter notebook 远程登录配置

jupyter notebook --generate-config # 生成jupyter notebook配置文件
ipython #打开ipython

from notebook.auth import passwd
passwd() #生成密码

生成密码
修改jupyper配置文件

vim  ~/.jupyter/jupyter_notebook_config.py

174行 c.NotebookApp.ip='*'
220行 c.NotebookApp.open_browser = False
229行 c.NotebookApp.password = u'把上面的文本粘贴到这里'
240行 c.NotebookApp.port =8888

转载于:https://www.cnblogs.com/phymamzjw/p/9178793.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值