在 Debian 8 系统里安装 jupyter notebook
2017-11-22 14:21
393 查看
云友“kindasusenn”在安装 jupyter notebook 时遇到了问题,所以在这里也想实践一下。
环境:Debian
8
过程:
1. Debian 8 默认的 python 版本是2.7,按 jupyter notebook 的安装建议,先安装
python3.6:
复制代码
wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz
tar xzvf Python-3.6.3.tgz
cd Python-3.6.3
./configure
make
make install
2. 新建一个普通用户,如liujia,登录后将python3.6加到bash配置文件中:
复制代码
echo 'alias python="/usr/local/bin/python3.6"' >> ~/.bashrc
3. 下载 Anaconda3,安装:
复制代码
wget https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh
bash ./Anaconda3-5.0.1-Linux-x86_64.sh
4. 安装好后,将 Anaconda3 路径加到 bash 配置文件中:
复制代码
export PATH=/home/liujia/anaconda3/bin:$PATH
source ~/.bashrc
5. 运行 jupyter notebook
复制代码
jupyter notebook --no-browser --ip=0.0.0.0
6. 默认 jupyter notebook 使用 8888 端口,如需通过 80 端口访问(ECS实例安全组规则允许外网访问80端口),可安装
nginx 后使用 proxy_pass 代理访问
参考:
https://linuxconfig.org/how-to-change-default-python-version-on-debian-9-stretch-linux
https://www.yuzhi100.com/article/debian-8-install-python36
https://www.anaconda.com/download/#linux
http://jupyter.org/install.html
环境:Debian
8
过程:
1. Debian 8 默认的 python 版本是2.7,按 jupyter notebook 的安装建议,先安装
python3.6:
复制代码
wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz
tar xzvf Python-3.6.3.tgz
cd Python-3.6.3
./configure
make
make install
2. 新建一个普通用户,如liujia,登录后将python3.6加到bash配置文件中:
复制代码
echo 'alias python="/usr/local/bin/python3.6"' >> ~/.bashrc
3. 下载 Anaconda3,安装:
复制代码
wget https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh
bash ./Anaconda3-5.0.1-Linux-x86_64.sh
4. 安装好后,将 Anaconda3 路径加到 bash 配置文件中:
复制代码
export PATH=/home/liujia/anaconda3/bin:$PATH
source ~/.bashrc
5. 运行 jupyter notebook
复制代码
jupyter notebook --no-browser --ip=0.0.0.0
6. 默认 jupyter notebook 使用 8888 端口,如需通过 80 端口访问(ECS实例安全组规则允许外网访问80端口),可安装
nginx 后使用 proxy_pass 代理访问
参考:
https://linuxconfig.org/how-to-change-default-python-version-on-debian-9-stretch-linux
https://www.yuzhi100.com/article/debian-8-install-python36
https://www.anaconda.com/download/#linux
http://jupyter.org/install.html
相关文章推荐
- 在 Debian 8 系统里安装 jupyter notebook
- [基础常识]在 Debian 8 系统里安装 jupyter notebook
- [基础常识]在 Debian 8 系统里安装 jupyter notebook
- Windows10内置安装Ubuntu系统 安装Anaconda jupyter notebook
- TensorFlow安装及jupyter notebook配置方法
- Jupyter Notebook通过pip安装python模块
- windows安装python,jupyter notebook
- ubuntu安装 Jupyter notebook 显示错误: ImportError: No module named 'pysqlite2'
- jupyter notebook的安装、配置
- Jupyter Notebook(原IPython Notebook)安装——Udacity学习笔记
- 在jupyter notebook下使用, 安装在virtualenv下的tensorflow
- 详解 jupyter notebook 集成 spark 环境安装
- 安装jupyter notebook方法
- mac 安装jupyter notebook
- 安装 jupyter notebook
- Windows下的Jupyter Notebook 安装与自定义启动(图文详解)
- Linux Ubuntu下Jupyter Notebook的安装
- jupyter notebook 安装多个版本kernel(python2 和python3)
- 【手把手教你】如何在Linux系统搭建jupyter notebook
- 详解 jupyter notebook 集成 spark 环境安装