• jupyter windows 10 安装


    windows 10系统下

    jupyter 安装

    选择文件夹到python安装目录,本机是 C:ProgramsPythonPython35

    pip 版本检查与更新

    定位到 C:ProgramsPythonPython35Scripts>
    执行 pip --version 命令,查看pip版本

    PS C:ProgramsPythonPython35Scripts> pip --version
    

    执行 pip install -U pip 命令,更新pip到最新版本

    PS C:ProgramsPythonPython35Scripts> pip install -U pip
    

    image.png

    再次执行 pip --version 命令,查看pip版本是否已经更新

    PS C:ProgramsPythonPython35Scripts> pip --version
    

    image.png

    jupyter安装

    执行 python -m pip install jupyter 命令,进行安装,会下载很多包,

    PS C:ProgramsPythonPython35Scripts> python -m pip install jupyter
    

    image.png

    注意:假如出现这个错误  ERROR: Could not install packages due to an EnvironmentError: raw write() returned invalid length 2 (should have been between 0 and 1)

    再次执行 python -m pip install jupyter 命令,会在上一次的基础上继续安装,

    PS C:ProgramsPythonPython35Scripts> python -m pip install jupyter
    

    image.png

    直到出现以下文字

    Running setup.py install for win-unicode-console ... done
    

    Running setup.py install for backcall ... done
      Running setup.py install for pyrsistent ... done
    Running setup.py install for prometheus-client ... done
      Running setup.py install for pandocfilters ... done
    Successfully installed MarkupSafe-1.1.1 Send2Trash-1.5.0 attrs-19.1.0 backcall-0.1.0 bleach-3.1.0 colorama-0.4.1 decorator-4.4.0 defusedxml-0.6.0 entrypoints-0.3 ipykernel-5.1.2 ipython-7.7.0 ipython-genutils-0.2.0 ipywidgets-7.5.1 jedi-0.15.1 jinja2-2.10.1 jsonschema-3.0.2 jupyter-1.0.0 jupyter-client-5.3.1 jupyter-console-6.0.0 jupyter-core-4.5.0 mistune-0.8.4 nbconvert-5.6.0 nbformat-4.4.0 notebook-6.0.1 pandocfilters-1.4.2 parso-0.5.1 pickleshare-0.7.5 prometheus-client-0.7.1 prompt-toolkit-2.0.9 pygments-2.4.2 pyrsistent-0.15.4 python-dateutil-2.8.0 pywinpty-0.5.5 pyzmq-18.1.0 qtconsole-4.5.4 six-1.12.0 terminado-0.8.2 testpath-0.4.2 tornado-6.0.3 traitlets-4.3.2 wcwidth-0.1.7 webencodings-0.5.1 widgetsnbextension-3.5.1 win-unicode-console-0.5

    表示安装成功

    启动jupyter

    PS C:ProgramsPythonPython35Scripts> jupyter notebook
    

    image.png

    会打开浏览器,进到这个地址 http://localhost:8888/tree
    image.png
    右侧 new 下拉选项中选择python3 选项,会进到一个新的笔记页, http://localhost:8888/notebooks/Untitled.ipynb?kernel_name=python3
    image.png

    此时就可以进行python 编码了

  • 相关阅读:
    JQuery高级
    Filter&Listener
    关于用户信息的一个综合案例
    JSP,EL和JSTL
    Cookie和Session
    Request和Response
    Servlet和HTTP请求协议
    Tomcat
    xml
    数组模拟堆
  • 原文地址:https://www.cnblogs.com/liying-yds/p/12656249.html
Copyright © 2020-2023  润新知