当前位置 博文首页 > cungudafa的博客:macbook安装python3.9环境+jupyter

    cungudafa的博客:macbook安装python3.9环境+jupyter

    作者:[db:作者] 时间:2021-09-08 10:27

    前言

    离开它的时候,它还是python3.7,业务过程中,还是觉得python香,再见它已python3.9

    环境:mac OS big Sur 版本11.4
    安装:python3.9

    正文

    1. 官网下载对应安装包
      https://www.python.org/downloads/release/python-396/

      下载macOS 64-bit Intel installer 版本

    2. 安装编译器环境anaconda
      https://www.anaconda.com/products/individual

      下载64-Bit Graphical Installer (440 MB)

    3. 终端运行

      jupyter notebook
      

      因为直接想用jupyter所以直接打开了,开anaconda比较费劲,python直接下载jupyter不ok,所以用anaconda原生下载。

    日常使用python处理数据表格什么的,jupyter最合适不过了,推荐指数up。
    ----来自某端给到开发xlsx,费力转json的小白

    提示

    1. jupyter显示行数:esc + L
    2. python退出cmd :ctrl + D

    扩展

    nbextensions插件是jupyter必备

    1. 安装

      pip install jupyter_contrib_nbextensions
      
    2. 关联

      jupyter contrib nbextension install --user
      
    3. 运行 Jupyter Notebook 设置 Nbextensions 选项:
      在这里插入图片描述
      下面都是比较常用且好用的方式:
      在这里插入图片描述

    cs