zoukankan      html  css  js  c++  java
  • [人工智能] 安装python jupyter

    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 11:39:46.196 NotebookApp] Writing notebook server cookie secret to /run/user/1000/jupyter/notebook_cookie_secret
    [I 11:39:46.920 NotebookApp] Serving notebooks from local directory: /home/tong/Src/copyright/manyflow
    [I 11:39:46.920 NotebookApp] 0 active kernels
    [I 11:39:46.920 NotebookApp] The Jupyter Notebook is running at:
    [I 11:39:46.920 NotebookApp] http://localhost:8888/?token=d91890cade3f729bbbfd25945bdc1186131df00f781c0399
    [I 11:39:46.920 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
    [C 11:39: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 11:39:47.574 NotebookApp] Accepting one-time-token-authenticated connection from ::1

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

    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项目之下。

    完。

  • 相关阅读:
    UML用例图总结
    项目管理心得:一个项目经理的个人体会、经验总结
    UML类图符号简介
    C++中栈和堆上建立对象的区别
    Win32 API
    Python
    remove extra kernel
    Create short cut
    Set Form Position
    Get folder
  • 原文地址:https://www.cnblogs.com/hugetong/p/10038094.html
Copyright © 2011-2022 走看看