重庆分公司,新征程启航

为企业提供网站建设、域名注册、服务器等服务

在linux(RedHat)_安装jupyter(miniconda下)

1.先安装miniconda

创新互联是一家专注于成都网站设计、网站建设与策划设计,湘桥网站建设哪家好?创新互联做网站,专注于网站建设十年,网设计领域的专业建站公司;建站业务涵盖:湘桥等地区。湘桥做网站价格咨询:13518219792

在linux(Red Hat)_安装jupyter(miniconda下)


2.配置conda的镜像为清华的仓库的镜像

在linux(Red Hat)_安装jupyter(miniconda下)

#   conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

#   conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/

#   conda config --set show_channel_urls yes


3.在base python环境安装 jupyter

在linux(Red Hat)_安装jupyter(miniconda下)


4.配置jupyter


-进到安装目录

在linux(Red Hat)_安装jupyter(miniconda下)


-生成配置文件

#   jupyter notebook --generate-config

在linux(Red Hat)_安装jupyter(miniconda下)

-配置密码

#   ipython

#   from notebook.auth import passwd

#   passwd()

在linux(Red Hat)_安装jupyter(miniconda下)

-编辑配置文件

#  vim /root/.jupyter/jupyter_notebook_config.py

修改1:提供服务的IP

修改2:提供服务的端口

修改3:上面生成的秘钥

修改4:启动后默认的根目录(即.ipynb文件放哪里)

修改5:启动后默认不打开浏览器

在linux(Red Hat)_安装jupyter(miniconda下)

在linux(Red Hat)_安装jupyter(miniconda下)

在linux(Red Hat)_安装jupyter(miniconda下)

在linux(Red Hat)_安装jupyter(miniconda下)

在linux(Red Hat)_安装jupyter(miniconda下)

-启动下看看(因为安装在root用户下所以带--allow-root)

#    jupyter notebook  --allow-root

-从window下的浏览器登录(jupyter部署在虚拟机里的linux)

在linux(Red Hat)_安装jupyter(miniconda下)


本文题目:在linux(RedHat)_安装jupyter(miniconda下)
转载源于:http://cqcxhl.com/article/jhjssc.html

其他资讯

在线咨询
服务热线
服务热线:028-86922220
TOP