Linux安装Anaconda3-5.2.0-Linux-x86

2018-08-12  本文已影响0人  playman

安装

bash Anaconda3-5.2.0-Linux-x86_64.sh

在/etc/profile添加

PATH=/root/anaconda3/bin:$PATH

添加镜像

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

conda config --set show_channel_urls yes

添加Jupyter

conda install jupyter

配置root启动权限

jupyter notebook --generate-config --allow-root
jupyter notebook password

查看 /root/.jupyter/jupyter_notebook_config.json密码
c.NotebookApp.allow_root = True
c.NotebookApp.ip = '*'
c.NotebookApp.password = 'sha1:83ae5c8bdf1b:035328d2eb2fb88a4f1e496f0d5bf796aead6d9c'
c.NotebookApp.port = 8888
c.NotebookApp.open_browser = False
c.NotebookApp.notebook_dir = '/appdir'

启动

jupyter notebook
上一篇 下一篇

猜你喜欢

热点阅读