pip更新 版本查看 jupyter安装及使用 您所在的位置:网站首页 查询pip版本 pip更新 版本查看 jupyter安装及使用

pip更新 版本查看 jupyter安装及使用

2024-06-17 06:06| 来源: 网络整理| 查看: 265

1.pip更新 pip install --upgrade pip 2.pip版本查看 pip -V 3.jupyter安装及使用 3.1jupyter安装 pip install jupyter 3.2jupyter使用 jupyter notebook --ip=0.0.0.0 --port=8808

然后登录即可

3.3centos下的使用

使用 pip 安装 Jupyter

我们使用 pip 命令安装 Jupyter:

pip install ipython jupyter notebook

配置 Jupyter Notebook

建立项目目录

我们先为 Jupyter 相关文件准备一个目录:

mkdir /data/jupyter

cd /data/jupyter

再建立一个目录作为 Jupyter 运行的根目录:

mkdir /data/jupyter/root

准备密码密文

由于我们将以需要密码验证的模式启动 Jupyter,所以我们要预先生成所需的密码对应的密文。

生成密文

使用下面的命令,创建一个密文的密码:

python -c "import IPython;print IPython.lib.passwd()"

执行后需要输入并确认密码,然后程序会返回一个 'sha1:...' 的密文&#



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有