[人工智能] 安装python jupyter

时间:2022-03-09 16:47:36

1.  什么是python jupyter ?

简单的说,可以理解为一个IDE。

http://jupyter.org/

2.  安装python jupyter notebook

http://jupyter.org/install.html

https://jupyter.readthedocs.io/en/latest/install.html

jupyter依赖与python,并且是anaconda版本的python。

  2.1 通过 anacanda 安装。(官方文档强烈推荐使用此方式。)

  2.2 通过python pip 安装。

文档里边没有提到除以上两种以外的其他安装方式。

  3.3. 凭直觉我觉得还可以通过pacman安装。

$ sudo pacman -S jupyter-notebook
$ jupyter notebook
[I ::46.196 NotebookApp] Writing notebook server cookie secret to /run/user//jupyter/notebook_cookie_secret
[I ::46.920 NotebookApp] Serving notebooks from local directory: /home/tong/Src/copyright/manyflow
[I ::46.920 NotebookApp] active kernels
[I ::46.920 NotebookApp] The Jupyter Notebook is running at:
[I ::46.920 NotebookApp] http://localhost:8888/?token=d91890cade3f729bbbfd25945bdc1186131df00f781c0399
[I ::46.920 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C ::47.018 NotebookApp] Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=d91890cade3f729bbbfd25945bdc1186131df00f781c0399&token=d91890cade3f729bbbfd25945bdc1186131df00f781c0399
[I ::47.574 NotebookApp] Accepting one-time-token-authenticated connection from ::

  运行结果,看起来是这样的:  那么。。。成功了?

[人工智能] 安装python jupyter

3.  什么是anaconda?

可能是。。。数据科学工具集?

https://zh.wikipedia.org/wiki/Anaconda_(Python%E5%8F%91%E8%A1%8C%E7%89%88)

https://www.anaconda.com/what-is-anaconda/

4.  安装anaconda

archlinuxcn里面有这个软件

pacman -S anaconda

5.  开始文档

http://jupyter.org/documentation

6.  ipython是什么

https://jupyter.readthedocs.io/en/latest/ipython/content-ipython.html

是jupyter的内核。现在从属于jupyter项目之下。

完。