Anaconda Navigator For Mac

简介

https://www.anaconda.com/

安装

brew cask install anaconda

设置国内镜像源

1
2
3
4
5
6
vim ~/.condarc

channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- defaults
show_channel_urls: true

安装PySpark

http://spark.apache.org
http://spark.apache.org/docs/latest/api/python/pyspark.html

  • 新建环境PySpark
  • 搜索并安装pyspark
  • 搜索并安装jupyter
    done
  • DONE
    done

安装TensorFlow

https://www.tensorflow.org/

  • 新建环境TensorFlow
  • 搜索并安装TensorFlow

安装PyTorch

http://pytorch.org/

  • 新建环境PyTorch
  • 搜索并安装conda
  • 进入该环境的目录,如:/usr/local/anaconda3/envs/PyTorch/bin
  • 执行./conda install pytorch torchvision -c pytorch,安装PyTorch
  • 好像要翻墙,不然下载不到PyTorch的包,还好中断过后不是全新覆盖下载。😄
    done
  • 用Anaconda跑起Python3环境,Done😊
    done