MacOS M1 安装Miniconda

下载

Miniconda — Conda documentation

选择

Miniconda3 macOS Apple M1 64-bit bash (Py38 conda 4.10.1 2021-11-08)

安装

chmod 777Miniconda3-latest-MacOSX-arm64.sh

bash Miniconda3-latest-MacOSX-arm64.sh

一直按回车

提示输入yes/no则输入yes

Miniconda3 will now be installed into this location:

~/miniconda3

  - Press ENTER to confirm the location

  - Press CTRL-C to abort the installation

  - Or specify a different location below

~miniconda3] >>>

PREFIX=/Users/xx/miniconda3

modified      /Users/xx/.zshrc

==> For changes to take effect, close and re-open your current shell. <==

If you'd prefer that conda's base environment not be activated on startup,

   set the auto_activate_base parameter to false:

conda config --set auto_activate_base false

重启shell即可使用

安装notebook

conda install jupyter notebook

使用notebook

jupyter notebook

(base) xx@xxmini@ ~ % jupyter notebook

[I 18:56:09.377 NotebookApp] Writing notebook server cookie secret to /Users/xx/Library/Jupyter/runtime/notebook_cookie_secret

[I 18:56:09.847 NotebookApp] Serving notebooks from local directory: /Users/xx

[I 18:56:09.847 NotebookApp] Jupyter Notebook 6.4.6 is running at:

[I 18:56:09.847 NotebookApp] http://localhost:8888/?token=d6784c16d53e4ea59f1c5331a360f99768d37a364813

[I 18:56:09.847 NotebookApp]  or http://127.0.0.1:8888/?token=d6784c16d53e4ea59f1c5331a360f99768d37a364813

[I 18:56:09.847 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

[C 18:56:09.856 NotebookApp]

    

    To access the notebook, open this file in a browser:

        file:///Users/xx/Library/Jupyter/runtime/nbserver-7405-open.html

    Or copy and paste one of these URLs:

        http://localhost:8888/?token=d6784c16d53e4ea1c5336b531a360f99768d37a364813

     or http://127.0.0.1:8888/?token=d6784c16d53e41c5336b531a360f99768d37a364813

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值