本机环境配置

Mac环境配置

1 安装Anaconda

访问官网https://www.anaconda.com/,在下载页面,下载安装包

64-Bit Command Line Installer

直接安装完成。

关于常用命令,参见 Anaconda常用命令汇总

2 安装Python3

通过 conda 命令创建环境,并初始化为 python3 环境

1 conda create --name pytorch python=3.7
2 conda activate pytorch

3 安装PyTorch

1 conda install pytorch

4 安装JupyterLab

1 # 安装 jupyterlab 开发工具
2 conda install -c conda-forge jupyterlab
3 # 运行 jupyterlab
4 jupyter lab

关于快捷键,参见 JupyterLab快捷键

posted @ 2020-02-14 10:09  小张Top  阅读(161)  评论(0编辑  收藏  举报